xmljson

Functions

pub fn to_json(input: String) -> Result(Json, DecodeError)

Parse an XML string into a JSON object.

pub fn to_xml(input: String) -> Result(String, DecodeError)

Parse an JSON object into an xml string.

pub fn to_xml_fragment(
  input: String,
) -> Result(String, DecodeError)

Parse an JSON object into an xml fragment.

Search Document