
Albert Bennett
Simply Put: What is JSON?
Updated: Mar 28, 2021
If you find this post helpful, like and comment on it :)
JSON is an acronym for JavaScript Object Notation. Simply put, it is a schema that can be used to transport data over the internet. It it very simple to understand and to use, as it can be read in a very englishy way.
Here are a few examples of JSON objects:
- Defines an object that has a property called "Name".
{
"Name" : "Albert"
}
- Defines and object that two properties. One called "Id", and another called "Numbers".
"Numbers" is an array of int's.
{
"Id" : "123456",
"Numbers" : [1,2,3,4,5,6]
}
- Defines an object that has a property called "data". "data" is an array of objects with two properties.
"FirstName" and "LastName".
{
"data" : [
{
"FirstName" : "Bob",
"LastName" : "Bobson"
},
{
"FirstName" : "Tim",
"LastName" : "Timson"
}
]
}
See simple...
Well I hope that this has helped you to understand what JSON is.