query-json
query-json copied to clipboard
Int overflow for 64 bit numbers
I know this is not very helpful, but here is an error message:
Yojson.Json_error("Line 19063, bytes 25-45:\nInt overflow '4611686018427387928'") There was an error reading the file
It seems as if the parser doesn't properly process 64bit integers / numbers.
Hey @SaculRennorb
I assume the json is {"int": 12313213} and the link of the playground is https://query-json.netlify.app/#eyJxdWVyeSI6Ii4iLCJqc29uIjoie1xuICBcImludFwiOiA0NjExNjg2MDEyXG59XG4ifQ%253D%253D.
Our JSON parser (yojson) doesn't support big integers for now, looking at jq there seems to have no limit.
I will try to adjust this,
Thanks for opening an issue <3