Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Apr 13:15
· 32 commits to main since this release

Release Notes

Features

  • Add as_string helper function, to coerce values to an owned String type.
  • Update to handle empty strings and null values in JSON (should be deserialized as "zero" values).
  • Round floats when converting to u64 or i64.
  • Similarly, handle floating-point values in strings when converting to u64 or i64.
  • Refactor to use Result<Self::Value, E> everywhere, instead of Result<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