Jaxon v1.0.10 Jaxon.Parser behaviour View Source

Example

Call parse/1 get a list of parsed events:

Note that keys are treated as the same as strings

iex> Jaxon.Parser.parse("{\"jaxon\":\"rocks\",\"array\":[1,2]}")
[
 :start_object,
 {:string, "jaxon"},
 :colon,
 {:string, "rocks"},
 :comma,
 {:string, "array"},
 :colon,
 :start_array,
 {:integer, 1},
 :comma,
 {:integer, 2},
 :end_array,
 :end_object
]

Link to this section Summary

Link to this section Functions

Link to this section Callbacks