+ 1
How to handle JSON objects ?
Having json like this -> {"navigations":[{"title":"Home","link":"https:\/\/getintalk.com","behavior":"INAPP","premium":"false"},{"title":"Chats","link":"https:\/\/getintalk.com\/messages","behavior":"INAPP","premium":"false"},{"title":"Test","link":"https:\/\/getintalk.com","behavior":"INAPP","premium":"true"}]} We want to read, modify, delete individual objects ? Is it possible ??
2 Answers
+ 4
Using the JS built in JSON.parse() and JSON.stringify() functions.
I did the basic CRUD operations on your JSON string to demonstrate.
https://code.sololearn.com/WdOmItmNqXCp/?ref=app
+ 1
Thanks helio-cat