You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2024/01/30 17:38:00 UTC

[jira] [Created] (NIFI-12697) Improve JSON Reader/Writer handling of floating-point numbers

Mark Payne created NIFI-12697:
---------------------------------

             Summary: Improve JSON Reader/Writer handling of floating-point numbers
                 Key: NIFI-12697
                 URL: https://issues.apache.org/jira/browse/NIFI-12697
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
            Reporter: Mark Payne
            Assignee: Mark Payne
             Fix For: 2.0.0


The JSON Writer currently provides no way to dictate whether or not floating-point numbers should use scientific notation. Several people have run into issues where the downstream systems do not understand scientific notation. We should allow this to be configurable.

Specifically, we should not change the behavior of existing services, but we should default new services so that they do not use scientific notation.

Additionally, the Jackson parser has the ability to use its own implementation of floating point parsing, which should be faster than the default version supplied by Java. We should enable that feature.

 



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