I think we need to get the msg.object and replace all HTML codes to double quotes on the fly to make a valid JSON before querying further. {
"app": "mock-app",
"sessionId": "71cde99f-faa9-47df-99d4-97b81b39275b",
"msg": {
"event": "response",
"status": "success",
"details": [
{
"key": "key1",
"value": "value1"
}
],
"method": "post",
"object":{
\u0026#34;headers\u0026#34;: {
\u0026#34;content-length\u0026#34;: \u0026#34;225\u0026#34;,
\u0026#34;requestType\u0026#34;: \u0026#34;basic\u0026#34;
},
\u0026#34;body\u0026#34;: {
\\\u0026#34;client\\\u0026#34;: {
\\\u0026#34;clientName\\\u0026#34;: \\\u0026#34;XyzClient\\\u0026#34;
},
\\\u0026#34;order\\\u0026#34;: {
\\\u0026#34;number\\\u0026#34;: \\\u0026#34;551270009\\\u0026#34;,
\\\u0026#34;details\\\u0026#34;: [
{
\\\u0026#34;item\\\u0026#34;: \\\u0026#34;product\\\u0026#34;,
\\\u0026#34;address\\\u0026#34;: {
\\\u0026#34;street\\\u0026#34;: \\\u0026#34;Main St\\\u0026#34;,
\\\u0026#34;zip\\\u0026#34;: \\\u0026#34;12345\\\u0026#34;,
\\\u0026#34;state\\\u0026#34;: \\\u0026#34;MN\u0026#34;,
\\\u0026#34;city\\\u0026#34;: \\\u0026#34;XyzCity\\\u0026#34;
}
}
]
}
}
}
}
}
... View more