Skip to content

Struson 0.2.0

Compare
Choose a tag to compare
@Marcono1234 Marcono1234 released this 06 Aug 18:57
· 144 commits to main since this release

Breaking changes

  • Removed ReaderSettings::update_path_during_skip; use the new ReaderSettings::track_path to completely disable path tracking instead
  • The return type of JsonReader::next_name has changed from String to str; use the new method next_name_owned to directly obtain a String

Changes

  • Added ReaderSettings::track_path to allow disabling path tracking for better performance
  • Added JsonReader methods for reading values as str; if only a str is needed these methods will be more performant memory-wise than the methods returning a String
    • next_name (the existing next_name method has been renamed to next_name_owned)
    • next_str
    • next_number_as_str