1Config::Any::JSON(3)  User Contributed Perl Documentation Config::Any::JSON(3)
2
3
4

NAME

6       Config::Any::JSON - Load JSON config files
7

DESCRIPTION

9       Loads JSON files. Example:
10
11           {
12               "name": "TestApp",
13               "Controller::Foo": {
14                   "foo": "bar"
15               },
16               "Model::Baz": {
17                   "qux": "xyzzy"
18               }
19           }
20

METHODS

22   extensions( )
23       return an array of valid extensions ("json", "jsn").
24
25   load( $file )
26       Attempts to load $file as a JSON file.
27
28   requires_any_of( )
29       Specifies that this modules requires one of, Cpanel::JSON::XS,
30       JSON::MaybeXS, JSON::DWIW, JSON::XS, JSON::Syck, JSON::PP or JSON in
31       order to work.
32

AUTHOR

34       Brian Cassidy <bricas@cpan.org>
35
37       Copyright 2006-2016 by Brian Cassidy
38
39       This library is free software; you can redistribute it and/or modify it
40       under the same terms as Perl itself.
41

SEE ALSO

43       ·   Catalyst
44
45       ·   Config::Any
46
47       ·   Cpanel::JSON::XS
48
49       ·   JSON::MaybeXS
50
51       ·   JSON::DWIW
52
53       ·   JSON::XS
54
55       ·   JSON::Syck
56
57       ·   JSON
58
59
60
61perl v5.30.1                      2020-01-29              Config::Any::JSON(3)
Impressum