You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Elli Schwarz (JIRA)" <ji...@apache.org> on 2017/01/13 17:08:26 UTC

[jira] [Created] (NIFI-3344) Enable JoltTransformJSON processor to have option to pretty print

Elli Schwarz created NIFI-3344:
----------------------------------

             Summary: Enable JoltTransformJSON processor to have option to pretty print
                 Key: NIFI-3344
                 URL: https://issues.apache.org/jira/browse/NIFI-3344
             Project: Apache NiFi
          Issue Type: New Feature
    Affects Versions: 1.1.1
            Reporter: Elli Schwarz


It would be nice if a Nifi property could be set on the JoltTransformJSON processor to enable/disable pretty printing of the JSON output. (For performance reasons, I assume that some users might want it off.)

Currently, the code uses the Jolt library's method JsonUtils.toJsonString(), but there's also a toPrettyJsonString() method that can be used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)