What is faster / easier to work with in an iPhone application: XML or JSON?

I am starting to create an iPhone application that will interact with the public API.

My question is which will be faster and / or easier to work with: XML or JSON?

+3
source share
5 answers

According to Sam Soffes , TouchJSON is superior to XML property lists:

, , , , JSON. plist 8 , JSON Framework. . , , , TouchJSON JSON , , Id . , JSON Framework , JSON Framework TouchJSON.

, , . TouchJSON . , . , plists . , JSON - .

.

+5

API, , JSON, XML , .

, JSON , Cocoa (, NSDictionary, NSArray, NSString, NSNumber), , JSON , , JSON. json-framework, .

JSON , ( ) - . , .

+5

. , .

, JSON , ( ). JSON.

+2

JSON , , .

+2

JSON TouchJSON ( ). , . , , , NSXMLParser, . libxml2 TouchXML. JSON iPhone:

XML , . plist , plistlib Python plist Ruby.

+1

Source: https://habr.com/ru/post/1727111/


All Articles