Page 1 of 1

Is XML is Bette Then JSON

Posted: Fri Jun 12, 2020 12:29 pm
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?

Re: Is XML is Bette Then JSON

Posted: Mon Jun 15, 2020 9:53 am
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

Re: Is XML is Bette Then JSON

Posted: Mon Aug 29, 2022 2:00 pm
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.