Json module

Json_Reader

structSource

Reads one JSON document. Every reading procedure returns false after recording an error in error; the first error wins, and callers must stop at once and return false themselves.

Fields

text: string
pos: int
depth: int
max_depth: int
error: Json_Error
key_start: int
where the key last returned by json_object_next begins
path: [..] Path_Segment
scratch: [..] u8
values: [..] Json_Value
children of the arrays being read into a Json_Value, innermost last
members: [..] Json_Member
the same for objects
index: [] u32
stage 1's structural index, when indexed (see index.jai)
ip: int
the first index entry that may lie at or after pos
indexed: bool
deny_unknown: bool
the options the generated decoders test
missing_default: bool
duplicate_last: bool
borrow: bool

See also