This is just a general question on the comparison between JSON and SOAP (XML). I know that XML has tags and JSON doesnt and JSON is generally faster but is there a type of scenario where JSON and SOAP shouldnt be used? Where should JSON and SOAP be used? Or is it all just a preference and doesnt matter is JSON or SOAP is used?
Asked
Active
Viewed 285 times
0
-
http://stackoverflow.com/questions/10597071/better-way-to-load-content-from-web-json-or-xml – iWizard May 17 '12 at 16:36
-
does that mean not to use soap or something because JSON is technically an upgrade to it? Im sure there must be a use for SOAP/XML – user1290653 May 17 '12 at 16:45
-
I've used JSON and XML with PHP and JSON was better and now I'm using JSON because it's faster and it is easier to use. If you need I can post you some example of using JSON. – iWizard May 17 '12 at 16:52
-
A similar thread http://stackoverflow.com/questions/1237649/json-or-soap-xml – mhan May 17 '12 at 17:10
-
http://www.json.org/xml.html is a great reference. – honyovk May 17 '12 at 18:04
-
SOAP uses XML, but XML is not SOAP, nor is SOAP only XML. – Nanne May 17 '12 at 19:27