I'm very much clear about using JSON and XML, but still while comparing each other I cant find differences related to security. Which one is more secure? Which one I should choose?
Asked
Active
Viewed 254 times
-2
-
See this http://stackoverflow.com/questions/19627284/what-is-the-difference-between-json-and-xml – Garry Jun 18 '15 at 06:23
-
Why should there be any difference in security? You just structure your data differently. – Xaver Kapeller Jun 18 '15 at 06:24
-
1http://stackoverflow.com/questions/4862310/json-and-xml-comparison – Saeed-rz Jun 18 '15 at 06:27
3 Answers
1
In compare to JSON
and XML
, there is no difference in security but JSON
is much faster than XML
thats why we prefer JSOn over XMl...But if you see from security point of view than you can go for SOAP

Santosh Kathait
- 1,444
- 1
- 11
- 22
-
How is XML more secure? Could you please elaborate? Of all the answers to this question, only yours makes this claim. – EJK Jun 18 '15 at 06:23
-
0
There is no difference, it's as if I wrote this answer in French -- equally valid, just need to understand it.

hd1
- 33,938
- 5
- 80
- 91
0
No difference both were made to make data transfer easy over the network, both are platform indepedent, language independent. It is the way you code makes them secure or insecure.

Sourabh Kumar Sharma
- 2,864
- 3
- 25
- 33