def parsed

cswap-bend-cli@0.1.0.0 · tui/num.bend:137

import cswap-bend-cli@0.1.0.0/tui/num.bend as Num
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json

137# A parsed value, JSON null when the text does not parse.
138def parsed(+r: Result<&2, &2, String, Json.Json>) -> Json.Json:
139  match r:
140    case Done{j}:
141      j
142    case Fail{e}:
143      Json.JNull{}

Uses (3)

Used by (1)