getml / reflect-cpp

A C++20 library for fast serialization, deserialization and validation using reflection. Supports JSON, BSON, CBOR, flexbuffers, msgpack, TOML, XML, YAML / msgpack.org[C++20]
https://getml.github.io/reflect-cpp/
MIT License
783 stars 63 forks source link

[fix] 64bit int support for json #92

Closed JoshBurrell closed 2 months ago

JoshBurrell commented 2 months ago

Json reader and writer now handle 64bit ints correctly, no longer casts them to a i32. Added test checking full int range

JoshBurrell commented 2 months ago

@liuzicheng1987 When you have a moment could you please review this PR

liuzicheng1987 commented 2 months ago

@JoshBurrell , sorry, I didn't see your PR until now. Let me check.

liuzicheng1987 commented 2 months ago

@JoshBurrell , merged.

Thank you so much for your contribution and apologies it took me so long to notice your PR.