Config::Any::JSON(3pm)

Config::Any::JSON3pm

Load json config files

Overview

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.

Releases

10 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10–11
  8. 12
  9. 13

Author

Brian Cassidy <[email protected]>

From libconfig-any-perl 0.33-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.