Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

NiFi: JSON Array split

Rising Star

If we have a flowfile with multiple records as JSON Array, can they be split into separate lines each?

1 ACCEPTED SOLUTION

If you have a JSON array with multiple json objects in it, you could try the SplitJson Processor.

see this => https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.SplitJson/

View solution in original post

6 REPLIES 6

If you have a JSON array with multiple json objects in it, you could try the SplitJson Processor.

see this => https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.SplitJson/

Explorer

Apache nifi - Split json error when an array has only one record or empty,

New Contributor

the above links are no more working


New Contributor

Use SpliJson processor, In Configuration, set property of "JsonPath Expression" as $.*

Explorer

Apache nifi - Split json error when an array has only one record or empty,

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.