[
https://issues.apache.org/jira/browse/NIFI-11509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-11509:
------------------------------------
Fix Version/s: 2.0.0
1.22.0
(was: 1.latest)
(was: 2.latest)
> ValidateJson does not validate a source document that has comments
> ------------------------------------------------------------------
>
> Key: NIFI-11509
> URL: https://issues.apache.org/jira/browse/NIFI-11509
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Fix For: 2.0.0, 1.22.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When attempting to Validate a JSON file which has comments in it, the
> validation fails with the following log message
> {code:java}
> [pool-1-thread-1] ERROR org.apache.nifi.processors.standard.ValidateJson -
> ValidateJson[id=d096fd11-061f-4757-8719-0d55dfc02ab3] JSON processing failed
> FlowFile[0,4778767798486.mockFlowFile,162B]:
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('/'
> (code 47)): maybe a (non-standard) comment? (not recognized as one since
> Feature 'ALLOW_COMMENTS' not enabled for parser)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)