pub fn yaml_compile_to_json(text: &str) -> Option<Value>Expand description
Compiles YAML text to one JSON value.
§Parameters
text: Input consumed bycrate::declarative::yaml_compile_to_json.
§Returns
Returns Some when crate::declarative::yaml_compile_to_json can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_runtime_compiler::declarative::yaml_compile_to_json("{}");§Related
crate::declarativefor adjacent helpers that share the same runtime surface.