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,  JSON::DWIW, JSON::XS,
30       JSON::Syck or JSON in order to work.
31

AUTHOR

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

SEE ALSO

42       ·   Catalyst
43
44       ·   Config::Any
45
46       ·   JSON::DWIW
47
48       ·   JSON::XS
49
50       ·   JSON::Syck
51
52       ·   JSON
53
54
55
56perl v5.12.1                      2010-02-15              Config::Any::JSON(3)
Impressum