Olly Hancock created NIFI-11592:
-----------------------------------

             Summary: JSONTreeReader behaving different between V1.21 and V1.18
                 Key: NIFI-11592
                 URL: https://issues.apache.org/jira/browse/NIFI-11592
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.21.0
            Reporter: Olly Hancock
             Fix For: 1.18.0


When parsing a json array with a json tree reader (in this case using convert 
record), I am presented with this error, this testing was done in Nifi Version 
1.21.0. However this error never occurs in Version 1.18.0. 

!https://community.cloudera.com/t5/image/serverpage/image-id/37634i431F02226471E286/image-size/medium?v=v2&px=400!

An example of json that fails in 1.21.0 that works in 1.18.0

 
{code:java}
[
    {"a": [ {"b": [{}]}]},
    {"a": [ {"b": []}]}
] {code}
 
Any help would be greatly appreciated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to