Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

NiFi: JSON Array split

avatar
Rising Star

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
Explorer

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
New Contributor

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

avatar
Explorer

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

Labels