BendToonCodec.encode: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/main.bend as BendToonCodec Lines 122-127 of bend-toon-codec@0.1.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/main.bend&start_line=122&end_line=127 import Base import bend-toon-codec@0.1.0.0/src/encode.bend as Enc # TOON text of a value, LF line endings, no trailing newline. NaN and Infinity # (a JNum whose text is not a number) encode as null. def encode(j: Json, o: EncodeOpts) -> String: match o: case EncodeOpts{indent, d, fold}: Enc.encode(to_inner(j), Enc.EOpts{indent, inner_delim(d), fold}) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/main.bend&name=EncodeOpts https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/main.bend&name=Json https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/main.bend&name=inner_delim https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/main.bend&name=to_inner https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/encode.bend&name=EOpts https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/encode.bend&name=encode