Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Direct link for people that don't want to click tracking links: https://gadgetsgadder.com/p/...
-
Now let's convert all json files to xml in github and watch the world burn 😈
-
@ElectroArchiver podcast platform developers still use and maybe bloggers use. IDK who uses but people are searching for it... So, I made it.
-
@Marethyun It's ugly, however since it's 1:1 with JS objects, that makes it ok, though of course I would opt for something more readable for config files, like YAML or INI.
-
@Marethyun Well when you have an easy to parse format that is widely used on the internet, it will be easier to use it in other places as well.
It could be worse, imagine everything was xml. -
@Marethyun I don't see how xml is better aside from having a defined structure and validation being part of the definition of it's proper use
-
I mean every last data value is tagged at the very least with one element
Js defines a field name and uses collection notation
Smaller footprint -
j0n4s53102yJSON for quick and dirty stuff >>>>>>>
sqlite for much data but not enough for a real DB server >>>>>
TOML as config file format >>>>>>>
XML for feeds >>>>>> -
@Marethyun note I mentioned type definitions
But if you're exchanging info in UTF-8 for most applications JSON is fine.
You can get super descriptive of data elements in xml so I could see the inclusion of an exhaustive series of attribute tags as a use of xml
But come on
Truthfully neither JSON or XML are good data formats
They're bloated -
@Marethyun I mean you'd be better off using a packed data format for the major data sets and a variable string table arranged in a relational format tbh but xml and JSON are readable
XML barely -
sariel84472y@ElectroArchiver I had a vendor tell me on a call last week that soap is undervalued as a solution.
I laughed at him and told him to stay away from my projects.
Point is, there's always a schmuck. -
@ElectroArchiver I dont really find either of those readable
JSON formats nicely
Related Rants
I made this tool recently. JSON to XML converter online free.
Try: https://bit.ly/json-to-xml
random
tool
json
xml