DOKK / manpages / debian 12 / libconfig-any-perl / Config::Any::JSON.3pm.en
Config::Any::JSON(3pm) User Contributed Perl Documentation Config::Any::JSON(3pm)

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

Loads JSON files. Example:

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

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

Attempts to load $file as a JSON file.

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.

Brian Cassidy <bricas@cpan.org>

Copyright 2006-2016 by Brian Cassidy

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

  • Catalyst
  • Config::Any
  • Cpanel::JSON::XS
  • JSON::MaybeXS
  • JSON::DWIW
  • JSON::XS
  • JSON::Syck
  • JSON
2022-11-19 perl v5.36.0