Function tvix_eval::builtins::to_xml::value_to_xml
source · pub fn value_to_xml<W: Write>(
writer: W,
value: &Value
) -> Result<NixContext, ErrorKind>
Expand description
Recursively serialise a value to XML. The value must have been deep-forced before being passed to this function. On success, returns the NixContext.