You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/05/25 20:53:00 UTC

[jira] [Commented] (NIFI-2964) AttributeToJSON: Nested JSON

    [ https://issues.apache.org/jira/browse/NIFI-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726386#comment-17726386 ] 

ASF subversion and git services commented on NIFI-2964:
-------------------------------------------------------

Commit d6600e67cb2eb6d18588f921fb51210464e42b84 in nifi's branch refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d6600e67cb ]

NIFI-2964 Added JSON Handling Strategy property to AttributesToJSON

This closes #7231

Signed-off-by: David Handermann <ex...@apache.org>


> AttributeToJSON: Nested JSON
> ----------------------------
>
>                 Key: NIFI-2964
>                 URL: https://issues.apache.org/jira/browse/NIFI-2964
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Justin M Cavinee
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> The AttributesToJSON processor does not Support NestedJSON.  NestedJSON is supported both in content and in attributes when using expressive language or the EvaluateJSONPath Processors, but when I try to push an attribute that contains nestedJSON to content using the AttributesToJSON Processor, it treats the entire body as a string and incorrectly quotes / escapes values which is causing problems for later processors that expect properly formatted JSON.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)