15th January 2025 at 12:00pm
The examples below assume the following JSON object is contained in the variable object-a:
{
"a": "one",
"b": "",
"c": "three",
"d": {
"e": "four",
"f": [
"five",
"six",
true,
false,
null
],
"g": {
"x": "max",
"y": "may",
"z": "maize"
}
}
}
[<object-a>jsondelete[a]][<object-a>jsondelete[d],[e]][<object-a>jsondelete[d],[f],[0]][<object-a>jsondelete[d],[f],[-1]][<object-a>jsondelete[d],[f],[-2]][<object-a>jsondelete[d],[g],[x]][<object-a>jsondelete[]][<object-a>jsondelete[missing]]The examples below assume the following JSON object is contained in the variable object-b:
{"a":"one","b":"","c":1.618,"d":{"e":"four","f":["five","six",true,false,null]}}[<object-b>jsondelete[b]][<object-b>jsondelete[d],[f],[1]]The examples below assume the following JSON array is contained in the variable array-a:
["une","deux","trois",["quatre","cinq"]]
[<array-a>jsondelete[0]][<array-a>jsondelete[-1]][<array-a>jsondelete[3],[0]][<object-a>] [<object-b>] :and[jsondelete[a]]