+ 1

JSON

tell me about JSON? is it necessary? how it is used? does it need tools write code?

1st May 2020, 11:00 AM
Shadman Sakib
Shadman Sakib - avatar
5 Answers
+ 4
JSON is very easy. It depends on your context it is necessary or not. { "name" : "shadman sakib", "developer" : true, "address" : { "Street" : "makon", "state" : "New York" }, } This is an example of json file
1st May 2020, 11:14 AM
šŸ‡®šŸ‡³VivekšŸ‡®šŸ‡³
šŸ‡®šŸ‡³VivekšŸ‡®šŸ‡³ - avatar
+ 3
JSON stand for JavaScript Object Notation, and as its full name suggest is based on (and fully compatible with) the JS object literal syntax, just a few more strict... It's becoming a standard as initialy used a lot for web development: on client side JS is the only available script language at this day (and probably for a while again), and needs to exchange data in plain text with server sided languages (JS is relatively recent at server side) with a more convenient format than the old and verbose XML, the former has quickly suplanted the later (in order of tell about, chronoligicaly the most recent has widely suplanted the oldest). So quite all languages have implemented the specifications, and now JSON is used in widest fields than just web development :)
1st May 2020, 5:06 PM
visph
visph - avatar
+ 2
Json is quasi standard for APIs. Eg you want to get weather data. AsšŸ‡®šŸ‡³VivekšŸ‡®šŸ‡³ posted, it is easy and many languages have a parser. It is a good choice to learn it.
1st May 2020, 11:36 AM
Oma Falk
Oma Falk - avatar
+ 1
thanks all
1st May 2020, 3:42 PM
Shadman Sakib
Shadman Sakib - avatar