Value.Json: type of emerging-ezjson@1.3.0.0 Import: import emerging-ezjson@1.3.0.0/src/value.bend as Value Lines 7-21 of emerging-ezjson@1.3.0.0/src/value.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezjson@1.3.0.0/src/value.bend&start_line=7&end_line=21 import Base # a JSON value; JNil, JCons and JPair are the cells of arrays and objects. # JSpan and JBind are the same string and key, as the first `n` chars of a # source suffix, so a parse does not copy that text. type Json is Data: JNull{} JBool{b: Bool} JNum{raw: String} JStr{s: String} JArr{items: Json} JObj{pairs: Json} JNil{} JCons{head: Json, tail: Json} JPair{key: String, val: Json, rest: Json} JSpan{src: String, n: U32} JBind{src: String, n: U32, val: Json, rest: Json} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32