CFEnv v0.1.1 CFEnv.Adapters.JSONParser 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.JSONParser.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.JSONParser.parsed type.