Hello,
I have json documents being saved in the ArangoDB, which itself contains
json document as a string value.
{
"requestBody":
"[{\"suborderNo\":41357335034,\"taskType\":\"SALES_RETURN_DFC\",\"userId\":\"1010835_1673\",\"taskId\":\"BPMN_MarkSalesReturnQC\",\"taskVariables\":{\"instructionsToAccount\":\"DBTV\",\"reason\":\"RIGC\",\"disputeRejected\":true,\"disputeRaised\":false,\"disputeTaskCompletedBy\":\"TopNotch_HS18\"}}]",
"timestamp": "2016-09-15T15:18:43.587+0530",
"url": "/CaseManagementSystem/api/bulkupload/completebulktask/"
}
Notice the "requestBody" attribute. Its an arrays JSON string.
I want the object version of this attribute to be returned.
for i in TASK_INTERCEPT_EVENTS
filter i.url=="/CaseManagementSystem/api/bulkupload/completebulktask/"
let ix=i.requestBody
return JSON.parse(ix)
Something in this lines... But the above is failing. Please advice
Thanks,
Subhro.
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.