Kevin Powell - CommunityKP-C
Kevin Powell - Community15mo ago
32 replies
Faker

Trying to understand what JSON is and why is it important

Hello guys, sorry to disturb you all; I'm confuse about how JSON works and why is it important, can someone confirm whether the following are correct and what you guys can add to it please:

1. JSON is a data structure use to transmit data (e.g. from server to client).
2. In order to retrieve data from a JSON format, we must use the JSON.parse() method
3. In order to format an object into a JSON format, we must use the JSON.stringify() method

That's all I understood 😭 , it's too unclear in my head... is there a small project I can build just to get the idea of what is JSON, how to work with it and its importance please
Was this page helpful?