callum-oakley / json5-rs

A Rust JSON5 serializer and deserializer which speaks Serde.
ISC License
184 stars 23 forks source link

Add support for int for serde_json::Value #7

Closed vdonich closed 5 years ago

vdonich commented 5 years ago

When deserializing numbers into serde::Values, the numbers are always converted to floats. For example, 1 becomes 1.0

vdonich commented 5 years ago

Thanks for the quick response! I've addressed your comments in the recent commits, let me know what's the best way to proceed here.

callum-oakley commented 5 years ago

It does indeed. Thanks again!

callum-oakley commented 5 years ago

Included in 0.2.3 🙂