logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Brian Cassidy <bricas@cpan.org>

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.

   requires_any_of()
       Specifies that this modules requires one of, Cpanel::JSON::XS, JSON::MaybeXS, JSON::DWIW, JSON::XS,
       JSON::Syck, JSON::PP or JSON in order to work.

Name

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

See Also

       •   Catalyst

       •   Config::Any

       •   Cpanel::JSON::XS

       •   JSON::MaybeXS

       •   JSON::DWIW

       •   JSON::XS

       •   JSON::Syck

       •   JSON

perl v5.36.0                                       2023-06-26                             Config::Any::JSON(3pm)

See Also