End expr_mt = nil .
.set( "parse_yaml", runtime .create_function(|rt, v: LuaValue| serialize_as(rt, &v, "JSON", serde_json::to_string) } fn [<get_path_as_ $variant:lower _or>](m: Val<MutableMap>, key: Arc<str>, fallback: Val<MapValue>) -> Val<MapValue> { raw_get(m, key).map_or(fallback, Val) } fn can_output(&self) -> bool { uach.0.is_some() } } } } .