Is XML is Bette Then JSON

Questions about XML that are not covered by the other forums should go here.
aartiyadav
Posts: 1
Joined: Fri Jun 12, 2020 12:23 pm

Is XML is Bette Then JSON

Post by aartiyadav »

Hello Everyone, I am just checking the comparison between JSON and XML, I have checked on google which one is better for data transfer. Can anyone tell me, Is XML is good as compare to JSON?
tavy
Posts: 364
Joined: Thu Jul 01, 2004 12:29 pm

Re: Is XML is Bette Then JSON

Post by tavy »

Hello,

Unfortunately I cannot help you with this. It depends a lot on what tools you use and what data you transfer. Both languages have advantages and disadvantages.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
palak231
Posts: 1
Joined: Mon Aug 29, 2022 1:45 pm

Re: Is XML is Bette Then JSON

Post by palak231 »

Hi this is Palak Sharma
Well XML stands for Extensible Markup Language. XML (Extensible Markup Language) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. JSON is simpler than XML, but XML is more powerful. For common applications, JSON's terse semantics result in code that is easier to follow. For applications with complex requirements surrounding data interchange, such as in enterprise, the powerful features of XML can significantly reduce software risk.
One of the most significant advantages of XML is that we can put metadata into the tags in the form of attributes. JSON simply lacks this capability. In JSON, attributes will be added as other member fields in data representation that may NOT be desired.
Well I have also seen https://www.techgeekbuzz.com/blog/json-vs-xml/ over internet where detailed information about both languages is published in detail.
Hope this answer will helps you.
Post Reply