+ 1
JSON
tell me about JSON? is it necessary? how it is used? does it need tools write code?
5 Antworten
+ 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
+ 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 :)
+ 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.
+ 1
thanks all