Float deserialization fails as when deserializing the float appears to be cast to a double which causes it to get a different value and the library assume that that means the number is out of range, which is not necessarily the case. This can be found at
https://github.com/ascheglov/json-cpp/blob/master/include/json-cpp/parse.hpp#L187
Float deserialization fails as when deserializing the float appears to be cast to a double which causes it to get a different value and the library assume that that means the number is out of range, which is not necessarily the case. This can be found at
https://github.com/ascheglov/json-cpp/blob/master/include/json-cpp/parse.hpp#L187