v0.2.0
Release Notes
Features
- Add
as_string
helper function, to coerce values to an ownedString
type. - Update to handle empty strings and
null
values in JSON (should be deserialized as "zero" values). - Round
floats
when converting tou64
ori64
. - Similarly, handle floating-point values in strings when converting to
u64
ori64
. - Refactor to use
Result<Self::Value, E>
everywhere, instead ofResult<T, E>
. - Rename
de.rs
->de_impl.rs
to avoid name conflicts. - Add example
as_string.rs
- Update examples/
- Update docs
Full Changelog: v0.1.1...v0.2.0