RejectedSoftware Forums

Sign up

JSON deserialize: ulong

Hello,

I am transferring ulong values using the json (de)serializer and just noticed that it doesn't support values > long.max which is of course a problem if your value is an ulong.
Any idea how this could be solved?

regards,

--Marenz

Re: JSON deserialize: ulong

Am 23.02.2014 15:11, schrieb Marenz:

Hello,

I am transferring ulong values using the json (de)serializer and just noticed that it doesn't support values > long.max which is of course a problem if your value is an ulong.
Any idea how this could be solved?

regards,

--Marenz


There has just been a similar fix for the BSON serializer (pull
#539
). I'll make a
similar fix for the JSON one.

Re: JSON deserialize: ulong

On Mon, 24 Feb 2014 17:24:13 +0100, Sönke Ludwig wrote:

Am 23.02.2014 15:11, schrieb Marenz:

Hello,

I am transferring ulong values using the json (de)serializer and just noticed that it doesn't support values > long.max which is of course a problem if your value is an ulong.
Any idea how this could be solved?

regards,

--Marenz


There has just been a similar fix for the BSON serializer (pull #539). I'll make a similar fix for the JSON one.

Fixed by 020d28e.

Re: JSON deserialize: ulong

On Mon, 24 Feb 2014 16:36:44 GMT, Sönke Ludwig wrote:

On Mon, 24 Feb 2014 17:24:13 +0100, Sönke Ludwig wrote:

Am 23.02.2014 15:11, schrieb Marenz:

Hello,

I am transferring ulong values using the json (de)serializer and just noticed that it doesn't support values > long.max which is of course a problem if your value is an ulong.
Any idea how this could be solved?

regards,

--Marenz


There has just been a similar fix for the BSON serializer (pull #539). I'll make a similar fix for the JSON one.

Fixed by 020d28e.

Cool, thanks!