EvaluateJSONPath does not support expression language in properties. But you could use an ExecuteScript processor to read the "97" from an attribute and use it to index the JSON content.
Thanks, James On Wed, Apr 12, 2017 at 6:14 AM, Guillaume Pool <[email protected]> wrote: > Hi, > > > > Has anyone found a way around this? > > > > I have a JSON document, > > > > {noformat} > > > > > > { > > "97": { > > "SystemEvent": 20, > > "SystemEventDescription": " Regular Position ", > > "CustDescription": "Trip start " > > }, > > "1794": { > > "SystemEvent": 30, > > "SystemEventDescription": " Regular Position ", > > "CustDescription": "Trip start " > > }, > > "1795": { > > "SystemEvent": 40, > > "SystemEventDescription": " Regular Position ", > > "CustDescription": "Trip start " > > }, > > "CIMessageID": -32490 > > } > > > > {noformat} > > > > > > I evaluate $.97.SystemEvent, I would like to be able to specify “97” using > expression language / an attribute. > > > > Thanks > > > > >
