In this article you will learn about JavaScript Object Notation (JSON) with examples.
The biggest challenge that programmers/developers/architects were facing for quite some time was how to transfer data from one system to another without having to worry about hardware or software requirements. Over this period we have seen many technologies attempting to make this requirement as simple as possible and finally now we have achieved it with the help of JSON. JSON is an acronym for JavaScript Object Notation. Douglas Crockford originally specified the JSON format in the early 2000s. The features of JSON are as follows:
Typically a JSON looks like the following: Example 1
The above example contains details for only one object. If we plan to have an array of objects, then the storage will look like this: Example 2
The above example is only to demonstrate how to use JSON in MVC. I hope this article was helpful. Please feel free to share your thoughts/opinion/feedback regarding the same.
Voice of a Developer: JavaScript From Scratch