def Yaml.parse

bend-kube-runtime@0.2.0.0 · src/yaml.bend:1108

import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yaml
import Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J

1108# The (first) document as JSON, anchors and aliases resolved.
1109def Yaml.parse(s: String) -> J.Json:
1110  Yaml.resolve(Yaml.result(Yaml.close_all(64n, Yaml.feed(Yaml.lines(s), Nil{}))))

Uses (8)

Used by (2)