rust-embedded-community / serde-json-core

`serde-json` for `no_std` programs
Apache License 2.0
161 stars 59 forks source link

Adding support for deserializing floats without termination #49

Closed ryan-summers closed 3 years ago

ryan-summers commented 3 years ago

This PR fixes #47 by correcting the method used to parse floating point numbers to allow them to be terminated with an EOF.

I've also added unit tests to exercise this condition for basic data types.