def parsed
import cswap-bend-cli@0.1.0.0/tui/num.bend as Numimport 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{}