def decode

bend-toon-codec@0.1.0.0 · main.bend:129

import bend-toon-codec@0.1.0.0/main.bend as BendToonCodec
import Base
import bend-toon-codec@0.1.0.0/src/decode.bend as Dec

129# The value of TOON text, or the first error with its line number.
130def decode(s: String, o: DecodeOpts) -> Result<&2, &2, String, Json>:
131  match o:
132    case DecodeOpts{indent, strict, expand}:
133      of_inner_result(Dec.decode(s, Dec.DOpts{indent, strict, expand}))

Uses (7)

Used by (1)