Created 08-03-2017 05:29 AM
Hi,
SplitJson processor accept as an input Json array of objects.
How to split json array into individual records using SplitJson processor?
Where can I check examples of "JsonPath Expression" for "SplitJson processor"
I checked documentation for "SplitJson"- but it not covers JsonPath Expressions.
Thanks.
Created 08-03-2017 04:11 PM
If it is a flat structure you probably want : $.*
Or, if it is some part of a nested structure: $.firstpart.secondpart.*
Created 04-26-2023 07:09 AM
@dchaffey Hi After Array split I get 12 flowfiles, Now I want those flowfiles to use one by one, means when 1 flowfile will execute its complete process then only next flowfile should be sent ahead. I tried using wait and notify but didnt worked properly. Can you suggest something
Created 04-18-2018 05:10 AM
I just used $.* to split the json array into individual records.
Created 04-26-2023 05:11 PM
I use
[*]
Created on 04-27-2023 04:55 AM - edited 04-27-2023 04:57 AM
I'm receiving an array of the Json objects like [{"key1":"value1", "key2":"value2"},{...},{...}], all what I'm doing is using SplitJson with the following expression.
If you have another structure of a Json your expression could be different, or you should use any transform(f.e. JoltTransform) at first.