[ https://issues.apache.org/jira/browse/NIFI-10612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17627949#comment-17627949 ]
ASF subversion and git services commented on NIFI-10612: -------------------------------------------------------- Commit 2afe2b36b98135689232b6c66e02916dc7e96e05 in nifi's branch refs/heads/main from dan-s1 [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=2afe2b36b9 ] [NIFI-10612] Initial check in of isJson code. [NIFI-10612] Made suggested change to only test subject value where it is formatted like a Json array or object. This closes #6574 Signed-off-by: Mike Thomsen <mthom...@apache.org> > Create new Expression Language method isJson to determine whether an > attribute is JSON > -------------------------------------------------------------------------------------- > > Key: NIFI-10612 > URL: https://issues.apache.org/jira/browse/NIFI-10612 > Project: Apache NiFi > Issue Type: New Feature > Components: Core Framework > Reporter: Daniel Stieglitz > Assignee: Daniel Stieglitz > Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > Create a new Expression Language method isJson to determine whether > attributes are JSON or not. The addition of this method provides a short > circuit of failure before attempting a JsonPath which otherwise would result > in flow files yielding if the attribute is not JSON as detailed in NIFI-10396 -- This message was sent by Atlassian Jira (v8.20.10#820010)