[
https://issues.apache.org/jira/browse/NIFI-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-9369:
---------------------------------
Fix Version/s: 2.9.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> JoltTransformJSON removes unicode escape sequence after output
> --------------------------------------------------------------
>
> Key: NIFI-9369
> URL: https://issues.apache.org/jira/browse/NIFI-9369
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Environment: Linux 64-bit, Ubuntu distro, default OS encoding is UTF-8
> Reporter: Önder Ezdi
> Assignee: Daniel Stieglitz
> Priority: Major
> Fix For: 2.9.0
>
> Original Estimate: 2h
> Time Spent: 40m
> Remaining Estimate: 1h 20m
>
> Problem:
> If a JSON comes with unicode escape sequence, processor accepts it and after
> transformation, exports it with native characters instead unicode sequence.
> Later InvokeHTTP requests to any server breaks json due character problem and
> server won't accept if standard encoding configurations applied.
> Behavior:
> JoltTransformJSON processor input:
> {code:java}
> {"value":
> "\u011f\u00fc\u015f\u0131\u00f6\u00e7\u011e\u00dc\u015e\u0130\u00d6\u00c7"}{code}
> JoltTransformJSON processor output:
> {code:java}
> {"value": "ğüşıöçĞÜŞİÖÇ"}{code}
> Expected:
> If its not a bug, "Encode Output" or "No encoding" output options should be
> supplied as in dropdown selection or something like that on UI.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)