I should also add that I'm hoping to make the update without knowing ahead of time where in the list Sally is, so I need to address the update by id to find the correct record.
Nov 17, 2016
10
Level 1
How to update json field in a list of items
How would I update Sally's name to Cindy in the example below using an update query for json field data? I've seen simple examples on the web, but nothing using collections of objects.
{
"summary": {
"comment": "Oops, not Sally, Cindy!",
"entries": [
{
"id": 1,
"name": "Jim"
},
{
"id": 2,
"name": "Sally"
},
{
"id": 3,
"name": "Tim"
}
]
}
}
Please or to participate in this conversation.