[
https://issues.apache.org/jira/browse/NIFI-11959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763952#comment-17763952
]
ASF subversion and git services commented on NIFI-11959:
--------------------------------------------------------
Commit 0280497c629538bdec8d9f06a3a68561d7a091ed in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0280497c62 ]
NIFI-11959 Corrected single-line comment handling for Jolt JSON
Added new lines back to the read in JSON spec to allow for single line comments
to be parsed correctly and ignored.
This closes #7678
Signed-off-by: David Handermann <[email protected]>
> Jolt spec in JoltTransformJson processor no longer supporting text comments
> ---------------------------------------------------------------------------
>
> Key: NIFI-11959
> URL: https://issues.apache.org/jira/browse/NIFI-11959
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.23.0
> Reporter: Mahieddine Cherif
> Assignee: Daniel Stieglitz
> Priority: Major
> Attachments: Screenshot 2023-08-17 at 09.24.44-1.png, jolt-issue.json
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Since NiFi 1.23.0, it seems like comments are no longer supported in Jolt
> Spec (JoltTransformJson/JoltTransformRecord processors)
> This however seems something that was already supported at least the most
> wide spread jolt engine [https://jolt-demo.appspot.com/#inception]
> *Reproducer :*
> We can easily reproduce it by simply putting a jolt with a comment using
> either JoltTransformRecord or JoltTransformJson processors as both are
> impacted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)