No change compared to the alpha releases.
- Improves error messages.
- Improves ordering of tokens and errors when errors are present.
- Fixes file position in case of errors.
- Support of UTF-8 byte-order-mark (BOM) during parsing.
- Support of Tokio
AsyncRead
andAsyncWrite
interfaces behind theasync-tokio
feature.
- The parser API has been rewritten. The new entry points are
FromBufferJsonReader
,FromReadJsonReader
, andLowLevelJsonReader
. - The serializer API has been rewritten. The new entry points are
ToWriteJsonWriter
andLowLevelJsonWriter
. - The parser now returns
ParseError
andSyntaxError
types instead ofstd::io::Error
. - Escaped unicode surrogate pairs are now carefully validated.
- Minimal supported Rust version has been bumped to 1.70.
- Support for encoded UTF-16 surrogate pairs like
"\ud83d\udd25"
. The parser now complies with all JSONTestSuite positive and negative tests.
- JSON streaming parser.
- JSON streaming serializer.