Joel Bernstein > Config-Any-0.07 > Config::Any::JSON

Download:
Config-Any-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  3
View/Report Bugs
Source   Latest Release: Config-Any-0.24

NAME ^

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

DESCRIPTION ^

Loads JSON files. Example:

    {
        "name": "TestApp",
        "Controller::Foo": {
            "foo": "bar"
        },
        "Model::Baz": {
            "qux": "xyzzy"
        }
    }

METHODS ^

extensions( )

return an array of valid extensions (json, jsn).

load( $file )

Attempts to load $file as a JSON file.

AUTHOR ^

COPYRIGHT AND LICENSE ^

Copyright 2006 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

syntax highlighting: