pub fn parse_json_value(
text: &str,
duplicates: &str,
escape: bool,
liberal: bool,
) -> Result<Value, XmlError>Expand description
Parse text to the XDM representation (F&O §17.5): object → map,
array → array, string → xs:string, number → xs:double, true/false →
xs:boolean, null → empty sequence. duplicates is one of
reject / use-first / use-last. Public so the XSLT layer’s
fn:json-doc can reuse it after loading the resource.