Re: Content based router with JSONPATH (Solution found)

2018-05-22 Thread Michael Joyner
I found JSON path statement to query the JSON object: when.jsonpath("$.name_value_list.account_type[?(@.value=='Customer')]") On 05/22/2018 08:12 AM, Michael Joyner wrote: Hi everyone. This might be a easy question, I have been fighting with it for a couple hours. I have a JSON array that

Content based router with JSONPATH

2018-05-22 Thread Michael Joyner
Hi everyone. This might be a easy question, I have been fighting with it for a couple hours. I have a JSON array that is sent to a splitter to process each JSON object. HERE'S SAMPLE JSON BODY: {     "id": "2b144adc-1af4-1446-e22a-58b367d22272",     "module_name": "Accounts",     "name_value