RejectedSoftware Forums

Sign up

Signed integral overflow while parsing json.

Hello. I parsed the JSON answer, which was gotten from one REST server and I got the ConvOverflowException.
Server sent me the 17559991181826658461 number. It is greater that the long.max, but lower then the ulong.max.
As I see, vibe.d Json doesn't recognize unsinged long values. Is it a thoughtful decision or it is a flaw? I can help with the addition of ulong support to json, because it directly affects my work :)
Thanks.

Re: Signed integral overflow while parsing json.

I've created github pull request, which fixes this.