Suppose I have the following json string:
How can I remove one item from the "favorites" node by its value? So for example, if I wanted to remove "thatOne" from the json string above, how would I do that? I've looked through the documentation but couldn't find anything to help. Thanks...Code:{ "settings": { "setting1": "someString", "setting2": 10, "setting3": 20, }, "favorites": [ "thisOne", "thatOne", <--- remove this line "theOtherOne" ], "history": [ { "param1": "someVale", "param2": "someValue", "param3": "someValue", }, { "param1": "someVale", "param2": "someValue", "param3": "someValue", } ] }




Reply With Quote