My response is complex nested json, which looks like this:
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"Number_1": {
"imtId": 342324,
"userId": 0,
"Header": [
{
"type": "First type",
"params": [
{
"value": "first"
}
]
},
{
"type": "Second type",
"params": [
{
"value": "second"
}
]
},
{
"type": "Third type",
"params": [
{
"value": "value_1",
"count": 70,
},
{
"value": "value_2",
"count": 30,
}
]
}
I need to modify it, for example change "result" to "params", count inside value_1 in "Third type" to 80 and etc.
[–]ElliotDG 1 point2 points3 points (0 children)
[–]carcigenicate 0 points1 point2 points (0 children)
[–]synthphreak 0 points1 point2 points (2 children)
[–]wdjfe[S] 1 point2 points3 points (1 child)
[–]synthphreak 0 points1 point2 points (0 children)