+ 5

What is a JSON?? Guys....nd why JSON??

JSON magic đŸ€”đŸ€”

5th Aug 2018, 3:28 PM
InFinite
10 Answers
+ 8
Well you could google it. I don't think there's much to learn about json. It basically displays objects. If you know basic and associative arrays or just objects you should be good to go. https://www.w3schools.com/js/js_json_syntax.asp json { "name":"John" }; javascript var json = { "name":"John" };
5th Aug 2018, 3:50 PM
Toni Isotalo
Toni Isotalo - avatar
+ 7
JSON just a format of data representation. in javascript 2 important functions to remember regarding JSON is JSON. parse() - converts JSON to object JSON. stringify() - converts objects to JSON format JSON is much more Convenient to handle than xml thats y its popular.
5th Aug 2018, 4:40 PM
Morpheus
Morpheus - avatar
5th Aug 2018, 4:48 PM
Morpheus
Morpheus - avatar
+ 6
Json is great for storing and displaying data and easy to read with any language. Let's say you built public application that needs database. Because It's public and anyone can use it, it's too risky to make a direct connetion. You would need to make a web server which display database data in json format. Json is almost the only way to retrieve data more than one string via http protocol. I did not invent any other uses for JSON and you probably don't need to use it anywhere else than with APIs. Correct me if I'm wrong.
5th Aug 2018, 3:42 PM
Toni Isotalo
Toni Isotalo - avatar
+ 4
JSON is a object to display data and get value. JSON is something that can make a point between PHP and JavaScript.
5th Aug 2018, 9:37 PM
program
program - avatar
+ 2
tqq broo🙂🙂 ..but I get confused with json do u know any best sites for learning json with a practical session for free 😇😇
5th Aug 2018, 3:47 PM
InFinite
+ 2
OK broo 😇😇
5th Aug 2018, 4:04 PM
InFinite
+ 2
thank you
5th Aug 2018, 8:20 PM
Alexander Wood
Alexander Wood - avatar
+ 1
i dont know what it is. sorry
5th Aug 2018, 4:00 PM
Alexander Wood
Alexander Wood - avatar
+ 1
json is serialization. storing object in json formate. its like pickle in python. note- think like urs parameter should be store in dictionary formate,and store on librery in json formate. this is NOT true,but u think according to this.
6th Aug 2018, 2:40 PM
sanjeev
sanjeev - avatar