---
name: "Config::Any::JSON"
section: "3pm"
platform: "linux"
package: "libconfig-any-perl"
version: "0.33-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Config::Any::JSON"
---

# Config::Any::JSON(3pm)

Load JSON config files

## 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.

### 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.

## AUTHOR

Brian Cassidy \<bricas@cpan.org\>

## COPYRIGHT AND LICENSE

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.

## SEE ALSO

- •

  Catalyst

- •

  Config::Any

- •

  Cpanel::JSON::XS

- •

  JSON::MaybeXS

- •

  JSON::DWIW

- •

  JSON::XS

- •

  JSON::Syck

- •

  JSON
