[
https://issues.apache.org/jira/browse/NIFI-10426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz resolved NIFI-10426.
-------------------------------------
Resolution: Duplicate
> 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)