poison v3.1.0 Poison.Parser

An ECMA 404 conforming JSON parser.

See: http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf

Summary

Types

t()
t ::
  nil |
  true |
  false |
  list |
  float |
  integer |
  String.t |
  map

Functions

parse(iodata, options \\ [])
parse(iodata, Keyword.t) ::
  {:ok, t} |
  {:error, :invalid} |
  {:error, {:invalid, String.t}}
parse!(iodata, options \\ [])
parse!(iodata, Keyword.t) :: t