Support Questions
Find answers, ask questions, and share your expertise

Nifi SplitJson - how to split json array to individual recods?

New Contributor

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.

2 REPLIES 2

If it is a flat structure you probably want : $.*
Or, if it is some part of a nested structure: $.firstpart.secondpart.*

New Contributor

I just used $.* to split the json array into individual records.