Beware XML-to-JSON Information Loss (Junos with Ansible)

When you want to transport a complex data structure between components of a distributed system you’re usually using a platform-independent data encoding format like XML, YAML, or JSON.
XML was the hip encoding format in days when Junos and Cisco …

When you want to transport a complex data structure between components of a distributed system you’re usually using a platform-independent data encoding format like XML, YAML, or JSON.

XML was the hip encoding format in days when Junos and Cisco Nexus OS was designed and lost most of its popularity in the meantime due to its complexity (attributes, namespaces…) that makes it hard to deal with XML documents in most programming languages.

JSON is the new cool kid on the block. It’s less complex than XML, maps better into data structures supported by modern programming languages, and has decently fast parser implementations.


Print Share Comment Cite Upload Translate
APA
() » Beware XML-to-JSON Information Loss (Junos with Ansible). Retrieved from https://www.truth.cx/2021/01/14/beware-xml-to-json-information-loss-junos-with-ansible/.
MLA
" » Beware XML-to-JSON Information Loss (Junos with Ansible)." - , https://www.truth.cx/2021/01/14/beware-xml-to-json-information-loss-junos-with-ansible/
HARVARD
» Beware XML-to-JSON Information Loss (Junos with Ansible)., viewed ,
VANCOUVER
- » Beware XML-to-JSON Information Loss (Junos with Ansible). [Internet]. [Accessed ]. Available from: https://www.truth.cx/2021/01/14/beware-xml-to-json-information-loss-junos-with-ansible/
CHICAGO
" » Beware XML-to-JSON Information Loss (Junos with Ansible)." - Accessed . https://www.truth.cx/2021/01/14/beware-xml-to-json-information-loss-junos-with-ansible/
IEEE
" » Beware XML-to-JSON Information Loss (Junos with Ansible)." [Online]. Available: https://www.truth.cx/2021/01/14/beware-xml-to-json-information-loss-junos-with-ansible/. [Accessed: ]
Select a language: