Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nifi Controller Service What is the difference between JsontreeReader and JsonPath reader

I have a simple question. What is the difference between JsontreeReader and JsonPath reader? I am new to NiFi. I am trying to parse a string. I have another open question that no one seems to want to answer. For a example! Nifi JOLT Transform string delimited into different elements and subelements

like image 826
bdkdavid Avatar asked Oct 27 '25 18:10

bdkdavid


1 Answers

JsonTreeReader reads the entire JSON as a record, or in the case of a top-level array, each element in the array is read (entirely) as a record.

JsonPathReader lets you specify JSONPath expressions in order to get at particular objects/records/fields within the overall flow file.

like image 92
mattyb Avatar answered Oct 30 '25 09:10

mattyb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!