gchq/CyberChef

Bug report: 'JSON beautify' operation losing numeric precision

Open

#415 建立於 2018年11月20日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (34,843 star) (3,944 fork)batch import
bughelp wanted

描述

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
}

貢獻者指南

Bug report: 'JSON beautify' operation losing numeric precision · gchq/CyberChef#415 | Good First Issue