Sign in
Log inSign up

WHAT ACTUALLY IS JSON

Omojuwon Soneye's photo
Omojuwon Soneye
·Jan 21, 2021·

2 min read

JSON is an acronym for JavaScript object notion. This is a format of sending complex data from the server to the client, or from the client to the server.

You can use texts or strings to send data, but it is not an effective way of doing so. This is because it is not easy to handle complex data that has relations with this format .

```// for instance, we in our server we have a file of the details of an employee , when we make a request from the client , the data is sent in a JSON FORMAT { name : "juwon", age : "22", workrate : "excellent" } // this above is a readable format to the client side for instance

 What if within the JSON  , an element has multiple  items , this is how it is represented ?


```{
name :"juwon",
age : "22",
workrate : "excellent",
location :[{lagos}, {abuja}]
}