Skip to content

Bug report: 'JSON beautify' operation losing numeric precision #415

@n1474335

Description

@n1474335

Summary

When running the 'JSON beautify' operation, numeric precision is lost for large numbers.

Example

https://gchq.github.io/CyberChef/#recipe=JSON_Beautify('%5C%5Ct')&input=eyAiYSI6IDEyMzQ1Njc4OTAxMjM0NTY3ODkgfQ

Input:

{ "a": 1234567890123456789 }

Erroneous output:

{
	"a": 1234567890123456800
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions