def Yaml.json_or
import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yamlimport Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J
282def Yaml.json_or(r: Result<&2, &2, String, J.Json>, s: String) -> J.Json:
283 match r:
284 case Done{j}:
285 j
286 case Fail{e}:
287 J.JStr{s}