Now let’s take a look at an example of a json data.
As we can see here we have an object with a collection of key and value pairs so in this case the keys will be
JSON.decode(obj) and pass in in the object we want to decode.
As you can see the apostrophes from the key of the object are now gone and we have a real object that we can use and work with. And when we want to send data back to the server we use the method
This was a brief introduction to JSON and a basic explanation of what it is and how to use it. Hope i made this easy to understand and very short. If you have any questions please feel free to ask below.
Cya in the next one.