gchq/CyberChef

Bug report: 'JSON beautify' operation losing numeric precision

Open

#415 opened on 2018年11月20日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)JavaScript (3,944 forks)batch import
bughelp wanted

Repository metrics

Stars
 (34,843 stars)
PR merge metrics
 (平均マージ 57d 13h) (30d で 62 merged PRs)

説明

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
}

コントリビューターガイド