I'm trying to parse a JSON file which contains large numbers:
{
"uuid": "c73b470a-5efb-4d53-9ac6-c5f6487f227b",
"description": "grains on square 64",
"property": "square",
"input": {
"square": 64
},
"expected": 9223372036854775808
},
I'm loading the file into a temp buffer and then I'm calling (json-parse-buffer)
, but the following error happens:
(json-parse-error "too big integer near '9223372036854775808'" "" 72 41 1992)
Supposedly Emacs supports integers of arbitrary size, but I guess the parser function doesn't support it? Is there any way to properly parse a JSON like this in Emacs?
My Emacs version:
GNU Emacs 28.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2023-03-20