Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NiFi: JSON Array split

avatar
Expert Contributor

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

1 ACCEPTED SOLUTION

avatar

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

avatar

avatar

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/

avatar
Rising Star

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

avatar
New Contributor

the above links are no more working


avatar
Explorer

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

avatar
Rising Star

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