Answers

2016-03-30T09:09:38+05:30



JSON is light weight and also its very easy to handle and parse when comparing to XML formats. also I believe that JSON started overtaking the technology over XML in many aspects. There are tons and tons of examples and discussions available in web to support the JSON format over XML.

And for Android, since it is a technology which is going to rule the world for next few decades you must decide whether you need to choose the older technology(XML) which is getting down or the newer technology (JSON) which is growing up. The choice is yours.




0
  • Brainly User
2016-03-30T09:34:07+05:30
XML is defined by the World Wide Web Consortium's (W3C') XML 1.0 Specification. It was designed to be general, allowing it to be used in a wide range of applications. It is a balanced version of Hypertext Markup Language (HTML) and there is the Extensible Hypertext Markup Language (XHTML) definition. 
 
                                 WHERE AS

JSON is a simpler encoding method that retains the flexible entry format of XML. Two standards address JSON at this point, RFC 7159 and ECMA-404. RFC 7159 addresses some security and semantic issues whereas ECMA is primarily a syntax definition.

JSON uses name/value pairs. It also has a number of basic data types including numbers, strings, booleans, and null.

0