def to_pairs

cswap-bend-cli@0.1.0.0 · json.bend:384

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

384# The (key, value) pairs of an object, in file order.
385def to_pairs(j: Json) -> List<(String & Json)>:
386  match j:
387    case JObj{fields}:
388      pairs.list(fields)
389    case _:
390      []

Uses (5)

Used by (0)

No other definition uses this definition.