Yaml.Yaml.json_or: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yaml Lines 282-287 of bend-kube-runtime@0.2.0.0/src/yaml.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/yaml.bend&start_line=282&end_line=287 import Base import bend-kube-runtime@0.2.0.0/src/json.bend as J def Yaml.json_or(r: Result<&2, &2, String, J.Json>, s: String) -> J.Json: match r: case Done{j}: j case Fail{e}: J.JStr{s} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/json.bend&name=Json