Reputation: 1858
Previously I used XML soap for data exchange in my web services, But it taking so much time to display data.
In what case would you need to use XML or json for web service response?
Upvotes: 3
Views: 1089
Reputation: 740
Definitely use JSON web service.. You'll find its significance over SOAP web service once you use it..
Upvotes: 1
Reputation: 3014
JSON is always faster than XML.
You should go through this link for more information.
Upvotes: 0
Reputation: 3619
Definitely JSON. Try this library - https://github.com/johnezang/JSONKit
Also, this is probably a duplicate of Is parsing JSON faster than parsing XML .
Upvotes: 4