Expand.strip: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/expand.bend as Expand Lines 201-213 of bend-toon-codec@0.1.0.0/src/expand.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/expand.bend&start_line=201&end_line=213 import Base import bend-toon-codec@0.1.0.0/src/json.bend as J import bend-toon-codec@0.1.0.0/src/head.bend as Hd # Remove the quoted-key markers (path expansion off). def strip(+j: J.Json) -> J.Json: match j: case J.JObj{x}: J.JObj{strip(x)} case J.JArr{x}: J.JArr{strip(x)} case J.JCons{h, t}: J.JCons{strip(h), strip(t)} case J.JField{k, v, t}: J.JField{Hd.unmark(k), strip(v), strip(t)} case _: j Uses (2): https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/head.bend&name=unmark https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/json.bend&name=Json