Hi Rajesh ,
Thanks for your prompt reply
I have below json
[{
"header": {
"messageId": "bf06ed84-c15b-46c2-a751-b9387347d511",
"correlationId": "",
"causationId": "",
"requestTime": "2017-09-20T05.00.00Z",
"priority": null,
"issuerId": null,
"domain": null,
"payloadType": "EventLogResponse",
"payloadTypeVersion": "1.0",
"networkDetails": {
"deviceTime": "2017-09-20T05.00.00Z",
"gatewayId": "123"
}
},
"somePacket":{
"deviceId": "FEED0020",
"networkDeviceId": "3736015433",
"id": "1.1.9.10",
"time": {
"timeStamp": "2017-09-20T05.00.00Z",
"timeOffset": -300,
"dstInEffect": false
},
"events": [
{
"time": {
"timeStamp": "2017-09-20T05.00.00Z",
"timeOffset": -300,
"dstInEffect": false
},
"eventId": "1.3.20.5.1",
"priority": "logOnly",
"parameters": {
"address": "10.9.08.7",
"collectorIdentifier": "123"
}
}
]
}
}]
I want to add "collectorIdentifier1": "567" in "parameters" tags , unfortunately i am not able to add this, there seems to be issue with xpath