Re: How to read an element inside another element in json with UpdateRecord

2020-08-26 Thread Mike Thomsen
That's JsonPath, not a record path, but it would be almost the same: /data/[1][0] to get the date. Adjust the array indexes accordingly to get other values. On Tue, Aug 25, 2020 at 5:52 PM Eric Ladner wrote: > Try $.data[6][1] to get the "15.m..".. entry. > > On Tue, Aug 25, 2020 at 3:17 PM

Re: How to read an element inside another element in json with UpdateRecord

2020-08-25 Thread Eric Ladner
Try $.data[6][1] to get the "15.m..".. entry. On Tue, Aug 25, 2020 at 3:17 PM Wesley C. Dias de Oliveira < wcdolive...@gmail.com> wrote: > Hi, Nifi Community. > > I'm trying to read an element inside another element in json with > UpdateRecord in the following json: > > "data": [ > ["Date",

How to read an element inside another element in json with UpdateRecord

2020-08-25 Thread Wesley C. Dias de Oliveira
Hi, Nifi Community. I'm trying to read an element inside another element in json with UpdateRecord in the following json: "data": [ ["Date", "Campaign name", "Cost"], ["2020-08-25", "01.M.VL.0.GSP", 75.14576], ["2020-08-25", "11.b.da.0.search", 344.47], ["2020-08-25", "12.m.dl.0.search", 98.04],