def parse

emerging-ezjson@1.3.0.0 · src/parse.bend:249

import emerging-ezjson@1.3.0.0/src/parse.bend as Parse
import Base
import emerging-ezjson@1.3.0.0/src/value.bend as V
import emerging-ezjson@1.3.0.0/src/lex.bend as Lex

249# a text as a value, or None when it is not JSON
250def parse(txt: String) -> Maybe<&2, V.Json>:
251  finish(run(Lex.tokens(txt), P{False{}, None{}, Nil{}}))

Uses (9)

Used by (1)