CFEnv v1.0.0 CFEnv.Adapters.JSON behaviour View Source

A basic adapter for a JSON parser. Returns parsed json, or fails.

Link to this section Summary

Callbacks

Decodes JSON into a CFEnv.Adapters.JSON.parsed type

Link to this section Types

Link to this type parsed() View Source
parsed() ::
  nil | true | false | list() | float() | integer() | String.t() | map()

Link to this section Callbacks

Link to this callback decode!(iodata, arg1) View Source
decode!(iodata(), Keyword.t()) :: parsed() | no_return()

Decodes JSON into a CFEnv.Adapters.JSON.parsed type.