You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2017/03/02 17:20:45 UTC

[jira] [Created] (NIFI-3546) JSON Formatted view of content will convert numbers to Scientific Format

Aldrin Piri created NIFI-3546:
---------------------------------

             Summary: JSON Formatted view of content will convert numbers to Scientific Format
                 Key: NIFI-3546
                 URL: https://issues.apache.org/jira/browse/NIFI-3546
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core UI
    Affects Versions: 1.1.1
            Reporter: Aldrin Piri


When using the content viewer, I was evaluating some data that was in JSON format.  In the original view, I had the data as expected:

{code}
{"timestamp": 1488474750276.346, "name": "longitude", "value": -83.23728}
{code}

However, when switching to the formatted view, the timestamp is converted
{code}
{
  "timestamp" : 1.488474750276346E12,
  "name" : "longitude",
  "value" : -83.23728
}
{code}

This can be confusing as it may seem as though the content format is different than anticipated.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)