![]() ![]() ĭisclaimer: The content on the website and/or Platform is for informational and educational purposes only. I ts unique properties and language independence make it the ideal choice for data-interchange operations or for building API s. Because of these properties, all the programming languages ha ve created their own built-in libraries to support JSON. J SON was originally designed for JavaScript to be use d in data exchange, owing to it s text-based format which makes it easier to read /write and i ts lightweight property which makes it a stress-free alternative for machines to serialize/de - serialize. ![]() JSON which is the short form of JavaScript Object Notion is one of the most popular data transition formats. Syntax – console.log( JSON.stringify (x)) Unordered collection of Key/value pairs called as objects.JSON can be buil t based on the below structures. ![]() Just like XML, JSON is a text format but occupies less er bandwidth than XML and offers faster processing of data. Initially JSON was made for JavaScript but its cross-platform adaptability has made it suitable to work with different programming languages that provide their own set of built - in libraries to support JSON. ![]() json, as an object or we can also use it as a String in the programming context. What is JSON:-Īs stated above, JSON being extremely lightweight can be used with almost all programming languages for communication. In the coming sections we will explore JSON a bit more and look at its syntaxes. They have built -in support to parse JSON strings into object and use JSON in their communication to send request s and receive data. As JSON is derived from JavaScript anything we write in JSON is a valid JavaScript. It is used in API communication f or sending request s from client and receiving response s from server s over the internet. It is mainly used while transferring data and data storage, owing to it being lightweight in nature. JSON is used for data representation similar to XML or YML. In this blog we will explore JavaScript Object Notation ( JSON ) which is derived from JavaScript. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |