Additional Value Type Support (Numbers)

Feb 20, 2014 at 3:43 AM
It appears that only double and integer are the supported number types. Is there any plan to support other number types; specifically: int64_t, uint32_t and uint64_t? All the JSON objects I'm dealing with return unsigned long long values (e.g. 1391107957763) but are being cast to "-2147483648" no matter how you slice it (i.e. to_string, as_integer).

I do see that the correct value is contained in the header but parsing the header doesn't seem clean.
Coordinator
Feb 20, 2014 at 4:52 PM
Hi swmercenary,

Yes we do have plans to support additional integral types! In fact it is coming in the next couple of weeks. We have a feature request for this:

https://casablanca.codeplex.com/workitem/65

In our 1.5 release there will be support for 32 bit signed/unsigned and 64 bit signed unsigned integers.

Steve
Marked as answer by swmercenary on 2/20/2014 at 12:22 PM
Feb 20, 2014 at 7:22 PM
Great! Looking forward to testing out 1.5.