View Source Parser (jeson v0.1.0)

A simple JSON parser that processes a list of tokens and produces a native data structure.

Summary

Types

@type json_array() :: [json_value()]
@type json_object() :: map()
@type json_value() ::
  map() | list() | String.t() | integer() | float() | boolean() | nil
@type token_list() :: [Token.t()]

Functions

@spec parse(String.t()) :: {:ok, json_value()} | {:error, String.t()}