Announcing RuleML Technical Memo: XML in JSON Revisited

From RuleML Wiki
Jump to: navigation, search

2020-04-12: Announcing RuleML Technical Memo: XML in JSON Revisited
By Harold Boley
State-of-the-art XML-to-JSON converters usually map XML elements to JSON objects whose key/value pairs represent element name/content pairs. Since such mappings can lose the order of child elements, these converters are not generally round-trippable. To address this issue, (compactifying and normalizing) order-preserving mappings to JSON arrays are proposed, reserving JSON objects for XML attributes. These mappings are exemplified with RuleML/XML instances and explored in a PSOA RuleML/XML use case. For more information, see XML in JSON Revisited.