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
24       return an array of valid extensions ("json", "jsn").
25
26       load( $file )
27
28       Attempts to load $file as a JSON file.
29

AUTHOR

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

SEE ALSO

40       * Catalyst
41       * Config::Any
42       * JSON
43       * JSON::Syck
44
45
46
47perl v5.8.8                       2007-08-23              Config::Any::JSON(3)
Impressum