Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.5.0
-
None
-
None
Description
While Trying to pass a json object through a JoltTransformJson processor to transform its content. adding one of the flowfiles attributes as part of the content, but it fails and throws jsonUnmarshalException, i managed to figure out the problem was the quotation marks, what i did was set the value of the content part of the jolt to "${comment:replace('\"','\'')}" to remove the quotation marks, but about a day after iv'e discovered the same problem with newline(\n)
it would be great if the jolttransformjson would have an option to automatically escape those characters and more that might be troublesome