You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2022/09/01 15:57:00 UTC

[jira] [Updated] (NIFI-10426) Create a processor to validate JSON

     [ https://issues.apache.org/jira/browse/NIFI-10426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Stieglitz updated NIFI-10426:
------------------------------------
    Labels: JSON validation  (was: )

> Create a processor to validate JSON
> -----------------------------------
>
>                 Key: NIFI-10426
>                 URL: https://issues.apache.org/jira/browse/NIFI-10426
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Core Framework
>    Affects Versions: 1.18.0
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Major
>              Labels: JSON, validation
>
> There are processors to validate CSV (ValidateCsv) and XML (ValidateXml) but not JSON.  We need the ability to validate both flow file content and attributes in order to make routing decisions. The processor should have the option of supplying a schema to validate against but in lieu of a schema should be able to validate the flow file content or attribute is valid JSON. For attributes this is especially needed before running a jsonPath Expression Language function on, otherwise if the attribute is not valid JSON, the processor (e.g. UpdateAttribute) admin yields and requires manual intervention to clear the queues.



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