by jjgreen · 3y ago · 0 comments
Whether your JSON parser will preserve the precision correctly is another story. For JavaScript/ECMAScript, you'll need to use a library.
1 == "1"; // true 1n == "1"; // true 1n == "1n"; // false