- Bump MSRV to 1.74
- Use lower case escape sequences in strings serialization to be closer to the JSON Canonicalization Scheme
- More lenient lifetime bound in
SliceJsonParser::parse_next
- Some renaming to get a cleaner API (aliases with the old names are kept):
FromTokioAsyncReadJsonReader->TokioAsyncReaderJsonParserFromBufferJsonReader->SliceJsonParserFromReadJsonReader->ReaderJsonParserLowLevelJsonReader->LowLevelJsonParserLowLevelJsonReaderResult->LowLevelJsonParserResultParseError->JsonParseErrorSyntaxError->JsonSyntaxErrorToTokioAsyncWriteJsonWriter->TokioAsyncWriterJsonSerializerToWriteJsonWriter->WriterJsonSerializer<W>LowLevelJsonWriter->LowLevelJsonSerializerread_next_event->parse_nextwrite_event->serialize_event
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
AsyncReadandAsyncWriteinterfaces behind theasync-tokiofeature.
- 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
ToWriteJsonWriterandLowLevelJsonWriter. - The parser now returns
ParseErrorandSyntaxErrortypes 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.