gchq/CyberChef

Bug report: 'JSON beautify' operation losing numeric precision

開放

#415 建立於 2018年11月20日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (3,944 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (34,843 顆星)
PR 合併指標
 (平均合併 57天 13小時) (30 天內合併 62 個 PR)

描述

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
}

貢獻者指南