Skip to content

Float deserialization fails #2

@benpye

Description

@benpye

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions