JSON vs XML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

JSON vs XML

If you are about to start a new project and there is a need to store your data in light weight format. Would you go for JSON or XML?

13th Apr 2017, 3:38 AM
Waleed El-Badry
Waleed El-Badry - avatar
6 Answers
+ 7
@Waleed Thanks you for the link.
13th Apr 2017, 3:46 AM
Manual
Manual - avatar
+ 7
XML is more handy because it's so similar to HTML. So I rather transfer data via XML.
13th Apr 2017, 4:11 AM
SoraKatadzuma
SoraKatadzuma - avatar
+ 6
Could you please, explain what JSON is?
13th Apr 2017, 3:40 AM
Manual
Manual - avatar
+ 5
stands for javascript object notion @Manual. its basically a bunch of key:value pairs. but yea you can google more on it if you are interested
13th Apr 2017, 3:48 AM
Edward
+ 1
This is a quick introduction @Manual https://www.w3schools.com/js/js_json_intro.asp
13th Apr 2017, 3:41 AM
Waleed El-Badry
Waleed El-Badry - avatar
0
what do you mean by "handy"? Isn't supposed to be measured by serialization / deserialization performance?
13th Apr 2017, 6:19 AM
Waleed El-Badry
Waleed El-Badry - avatar