Skip to content

Struson 0.6.0

Latest
Compare
Choose a tag to compare
@Marcono1234 Marcono1234 released this 26 Nov 23:19
· 13 commits to main since this release

Changes

  • Specified the rust-version in Cargo.toml (Minimum Supported Rust Version); currently it is 1.75.0
  • Changed JsonStreamReader to disallow control characters in comments (if enabled with ReaderSettings::allow_comments)
  • Removed deprecated parse_json_path function, use the json_path! macro instead
  • Added associated type WriterResult to JsonWriter, which is returned by JsonWriter::finish_document
    For JsonStreamWriter the result is the underlying Write, which allows for example to reuse it for different purposes.

Simple API

  • (Breaking) Renamed Cargo feature for enabling Simple API from experimental to simple-api
  • Added ObjectWriter::write_member to allow writing the value of a member using a ValueWriter