+ 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 ??

30th Apr 2020, 1:50 PM
Brijesh Chauhan
Brijesh Chauhan - avatar
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
30th Apr 2020, 2:51 PM
helio-cat
helio-cat - avatar
+ 1
Thanks helio-cat
15th May 2020, 2:30 AM
Brijesh Chauhan
Brijesh Chauhan - avatar