Skip to content
This repository was archived by the owner on Jun 16, 2021. It is now read-only.
This repository was archived by the owner on Jun 16, 2021. It is now read-only.

reformatting long integer issue #3

@kumarkiranm

Description

@kumarkiranm

When I place a request of reformat and validate my json which contains a long integer, jsonlint is displaying the wrong output in reformatted json.

ex:
original: {"response":{"timestamp":1310033637419,"body":{"session":4261667034108713961},"type":"xxxxxxxx","version":"0.1.0.0"}}

reformatted:
CONVERTED:
{
"response": {
"timestamp": 1310033637419,
"body": {
"session": 4261667034108714000
},
"type": "xxxxxxxx",
"version": "0.1.0.0"
}
}

In the above example, "session" value is being modified by jsonlint while reformatting. not returning the original value.

Cheers,
KK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions