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
-
Well there would be multiple ways to do it without a standard. Be happy there is a standard.
-
mishaor17696y@irene it's still used in Java projects a lot. For example, a bank in which my mom's money is, has software written in Java. Also Android uses XML for storing information about apps (like metadata and keys, all of that is related to some APK/ODEX (Dalvik era) or a folder with application's binaries (ART era)).
-
@dmonkey XML still has much more mature validation features than JSON. It still has its place IMHO, but JSON simplified many use cases that didn't need the structural rigidness of XML.
Then you have things like https://json-schema.org/ which aims for the reverse: making JSON validatable against a schema.
At the end it's all a matter of what tool to use for the job, and XML can still be a good choice for certain use cases. -
oxmox2916yFor me XML makes only potentially sense together with xslt and if you need to apply functionality on tags and their content.
For „storing“ content, objects,... JSON is the Choice -
dmonkey21956y@irene I'd say that's because it looks old compared to json and similar formats, but @oxmox actually changed my mind
-
amkherad1706y@irene "oh, we want a csv but not csv. What should we do?" You know what? I accually invented a data format called 'csvon' for one of my data-driven applications, the rate of data was about 50% of total traffic and the other was meta characters when I was using json (quotes, braces, field names), so I switched to csv and added object notation, and called it csvon !! I saved about 45% network traffic! 🤓
-
piehole8106y@oxmox syntactic white space. Also, no idea what problem it solves that json or xml doesn’t
-
hell165966y@irene huauuhauuh it was needed for a job, we had an excel sheet that needed to be passed to a server as json by aggregating the data bellow a columns value.
Its pretty neat :) -
matste6416yAnd some day, the architect will decide to finally ditch XML and do all comunication in Json. Which leads to the logical conclusion of JSONx encoded in Json:
{
"type":"json:object",
"children": [
{
"type":"json:string",
"name":"Ticker",
"value":"IBM"
}
]
}
Related Rants
JsonX is a an IBM standard to represent JSON in XML...
Like wtf dude? What's the point in making shit even more verbose than the original XML ?
rant
json
ibm
xml
jsonx