def finish

bend-toon-codec@0.1.0.0 · src/decode.bend:50

import bend-toon-codec@0.1.0.0/src/decode.bend as Decode
import Base
import bend-toon-codec@0.1.0.0/src/json.bend as J
import bend-toon-codec@0.1.0.0/src/frame.bend as F

50# Close what is still open and take the root.
51def finish(+r: Result<&2, &2, String, F.St>, +strict: Bool) -> Result<&2, &2, String, J.Json>:
52  root.value(F.pop(fuel(r), r, 0, strict))

Uses (8)

Used by (2)