Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi: JSON Array split

Solved Go to solution

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

Accepted Solutions

Re: NiFi: JSON Array split

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/

6 REPLIES 6

Re: NiFi: JSON Array split

Re: NiFi: JSON Array split

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/

Re: NiFi: JSON Array split

New Contributor

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

Re: NiFi: JSON Array split

New Contributor

the above links are no more working


Re: NiFi: JSON Array split

New Contributor

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

Re: NiFi: JSON Array split

New Contributor

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