An Asynchronous forward-only streaming JSON parser and deserializer based on System.Text.Json.Utf8JsonReader. Buffer reads a stream and enable conditional branch deserialization. Memory usage is minimal, based of either the buffer size used or the json property branch being deserialized.
See the Deserializing Json Streams using Newtonsoft.Json & System.Text.Json with C# & VB article for detailed breakdown and usage with C# or VB.Net with full samples, benchmarks, tests, and more. Covers both file and web streaming with unzipped and zipped files of very large size.
Package: Utf8JsonAsyncStreamReader
If you find this library useful, then please consider buying me a coffee ☕.
- 1.0.0: Initial release - supports .Net 7.0
- 1.1.0: Updated to support .Net 8.0; fixed missing paramater JsonSerializerOptions in one call