bend-net-json
Releases (1)
-
0.3.0.0 indexed
Definitions (70)
json.bend
- type ValNum keeps the number's exact text, so no precision is lost.
- type Next
- type OpenAn open container: array items so far (reversed), or object fields and the key whose value comes next.
- type St
- def is_ws
- def ws.goBool.pick runs both arms, so loops peek: the next char's class is a Bool param and only the matching arm recurses.
- def skip_ws
- def digit
- def num.trans
- def num.accepts
- def num.end
- def num.go
- def num
- def lit.if
- def lit
- type Esc
- def hexd
- def hex4.go
- def hex4
- def is_hi
- def is_lo
- def pair.lo
- def pair§8.2: a high surrogate pairs with a following \uDC00-\uDFFF; a lone one is U+FFFD.
- def esc.u
- def esc.simple
- def esc.oneOne escape after the backslash.
- def str.esc
- def str.close
- def str.c
- def str.step§7: unescaped chars below U+0020 are not allowed in a string.
- def got
- def open.close
- def value.step
- def value
- def key
- def colon.top
- def colon
- def after.arr.cA finished value joins its container; then "," or the closing bracket.
- def after.arr
- def after.obj.c
- def after.obj
- def after
- def step
- def done
- def runfuel: every step but the last eats at least one char.
- def parseOne JSON text: a value with optional whitespace around it.
- def get.hit
- def get.some
- def get.has
- def get.of
- def getThe value under key k of an object.
- def hexc
- def esc.putThe escaped form of one char, reversed (it is pushed onto a reversed acc).
- def esc.go
- def esc
- type Item
- def items.sep
- def items.arr
- def items.obj
- def put
- def enc.go
- def encodeCompact JSON; object keys come out sorted.
- def at.go
- def at
- def u32.over
- def u32.dig
- def u32.zero
- def u32.lead
- def u32.num
- def u32