emerging-ezjson
Search uses release 1.3.0.0 · 381 definitions
Definitions (381)
- def next.growa walk that runs level `lvl`, then the next level up, until it finishes or `left` levels are done.
- def next.fina step's answer.
- def next.walka walk from the start of `txt` in state `st`, with the whole budget
- def next.endedthe cursor after an end: nothing left to read, and the root is over
- def next.usean event from a step.
- def next.openthe next event, unless the cursor has already failed
- def skip.usethe cursor after a skip.
- def skip.opendrop one value, unless the cursor has already failed or the root is over
- def cursora cursor at the start of `src`.
- def nextthe next event.
- def skipdrop the next value: one scalar, or one array or object with everything inside it.
- def textthe text of a string, a key, or a number.
- type Jsona JSON value; JNil, JCons and JPair are the cells of arrays and objects.
- type Numwhere a scan of a JSON number is
- def span.strthe first `nn` chars of `src` as their own string
- def span.eq.gowhether the first `nn` chars of `src` equal `key`, stopping at the first miss.
- def span.eqwhether the first `nn` chars of `src` are `key`
- def reversereverses a chain of JCons or JPair cells onto acc
- def arr.go
- def arran array from a list
- def obj.go
- def objan object from pairs
- def nullnull
- def boola boolean
- def stra string
- def num.go
- def num.ok.digit
- def num.ok.expmark
- def num.ok.lead
- def num.ok.step.lead
- def num.ok.step.int.go
- def num.ok.step.int
- def num.ok.step.start.go
- def num.ok.step.start
- def num.ok.step.mark.go
- def num.ok.step.mark
- def num.ok.step.body.digit
- def num.ok.step.body.other.go
- def num.ok.step.body.other
- def num.ok.step.body.go
- def num.ok.step.body
- def num.ok.step.frac.other
- def num.ok.step.frac.go
- def num.ok.step.frac
- def num.ok.step.expd.go
- def num.ok.step.expd
- def num.ok.step.exps.minus.go
- def num.ok.step.exps.minus
- def num.ok.step.exps.go
- def num.ok.step.exps
- def num.ok.step
- def num.ok.done
- def num.ok.go
- def num.okwhether text is a JSON number
- def numa JSON number from its text, or null when that text is not one
- def find.eq.gocharacter-for-character equality.
- def find.eq
- def find.atthe matched value, or the next pair when the key differs
- def findthe value of a key in a chain of pairs; JNull when the key is absent
- def getan object's value at a key; JNull when it is not an object or has no such key.
- def at.go
- def atan array's item at an index; JNull when it is not an array or has none
- type Shapewhat wf.go checks: a value, the cells of an array, or the cells of an object
- def wf.gowhether a value, or a chain of cells, has the shape the parser and the builders give: arrays and objects are chains of cells ending in JNil, no cell stands where a value belongs, and a number's text is a JSON number
- def wfwhether a value is well-formed: the shape every value from the builders and from parse has.
- def has.gowhether a chain of pairs has the key, stopping at the first match
- def haswhether an object has the key; false when the value is not an object
- def len.gohow many cells a chain of array or object cells holds
- def lenhow many elements an array, or members an object, has; 0 for anything else
- def items.gothe elements of a chain of array cells, in order
- def itemsan array's elements, in order; [] for anything else
- def is_arrwhether a value is an array
- def is_objwhether a value is an object
- def as_stra string, or none when the value is not one
- def as_boola boolean, or none when the value is not one
- def as_numa number's text, or none when the value is not a number
- def as_u32a number as a U32, or none when it is not one or does not fit
- def f32.topthe largest finite F32
- def f32.fit.goa read that stayed finite; none when it did not.
- def f32.fita read that stayed finite, or none
- def as_f32a number as an F32, or none when it is not one or does not fit