Json.value.step: def of bend-net-json@0.3.0.0 Import: import bend-net-json@0.3.0.0/json.bend as Json Lines 254-262 of bend-net-json@0.3.0.0/json.bend: https://jend.leeeet.dev/read.txt?path=bend-net-json@0.3.0.0/json.bend&start_line=254&end_line=262 import Base def value.step(+s: String, +c: U32, +t: String, +stack: List<&2, Open>) -> St: +r = skip_ws(t) Bool.pick(St, U32.is_eq(c, 91), open.close(r, Arr{Nil{}}, stack, String.starts_with(r, "]"), OArr{Nil{}}), Bool.pick(St, U32.is_eq(c, 123), open.close(r, Obj{Map.new(&2, Val)}, stack, String.starts_with(r, "}"), OObj{Map.new(&2, Val), ""}), Bool.pick(St, U32.is_eq(c, 34), SStr{t, SNil{}, False{}, stack}, Bool.pick(St, U32.is_eq(c, 116), got(lit(s, "true", Flag{True{}}, 4n), stack), Bool.pick(St, U32.is_eq(c, 102), got(lit(s, "false", Flag{False{}}, 5n), stack), Bool.pick(St, U32.is_eq(c, 110), got(lit(s, "null", Null{}, 4n), stack), got(num(s), stack))))))) Uses (16): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Map.new https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bend-net-json@0.3.0.0/json.bend&name=Open https://jend.leeeet.dev/definition.txt?path=bend-net-json@0.3.0.0/json.bend&name=St https://jend.leeeet.dev/definition.txt?path=bend-net-json@0.3.0.0/json.bend&name=Val https://jend.leeeet.dev/definition.txt?path=bend-net-json@0.3.0.0/json.bend&name=got https://jend.leeeet.dev/definition.txt?path=bend-net-json@0.3.0.0/json.bend&name=lit https://jend.leeeet.dev/definition.txt?path=bend-net-json@0.3.0.0/json.bend&name=num https://jend.leeeet.dev/definition.txt?path=bend-net-json@0.3.0.0/json.bend&name=open.close https://jend.leeeet.dev/definition.txt?path=bend-net-json@0.3.0.0/json.bend&name=skip_ws