You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed number traits used by JsonWriter methods number_value and fp_number_value
This most likely only affects custom JsonWriter implementations. See below for details.
Changes
Fixed JsonStreamReader::next_name sometimes returning wrong results (#10)
Added StringValueWriter::write_str
Tried to improve number reading and number string writing performance
Tried to improve JsonStreamReader::transfer_to performance for string values
Adjusted number traits used by JsonWriter methods number_value and fp_number_value
These changes are mainly relevant for custom implementations of JsonWriter.
IntegralNumber has been renamed to FiniteNumber to better describe its behavior
Number traits no longer have ToString and Copy as supertraits; instead they have a new use_json_number method to consume a str
Number traits have new methods to obtain the value as u64 / i64, respectively f64