CFEnv v0.1.1 CFEnv.Adapters.JSONParser.Poison View Source
A JSON decoder for CFEnv.
To use, add Poison to your mix.exs dependencies:
def deps do
[{:poison, "~> 3.0"}]
end
Then, update your dependencies:
$ mix deps.get
The adapter will automatically be picked up and used by CFEnv, unless explicitly configured for another adapter. If you want to manually add this parser to the configuration, simply include the following:
config :cf_env
json_parser: CFEnv.Adapters.JSONParser.Poison
Link to this section Summary
Functions
Decodes JSON into a CFEnv.Adapters.JSONParser.parsed
type
Link to this section Functions
Decodes JSON into a CFEnv.Adapters.JSONParser.parsed
type.