this post was submitted on 21 Feb 2025
92 points (96.9% liked)
Programming
18422 readers
603 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've seen XML parsers that will convert element content from strings to native types by default. So "0" becomes an int, "true" becomes a boolean, and "null" becomes an actual null. I had to take extra steps to keep everything as a string unless explicitly told not to.
JSON does not have this problem, BTW.
I don't think anyone actually chooses XML. There's no reason to use it over JSON unless you need to.
The entirety of the banking world uses XML very heavily, as it's part of the SWIFT standards.
I didn't say that it's not used. I say that you shouldn't if you have the option.
If the entire X world uses Y technology. You have no choice other than using Y technology.