The Utf8JsonReader has constructors to read from:
ReadOnlySpan<byte> jsonData
ReadOnlySequence<byte> jsonData
So what would be the best approach to read from a traditional StreamReader
?
The Utf8JsonReader has constructors to read from:
ReadOnlySpan<byte> jsonData
ReadOnlySequence<byte> jsonData
So what would be the best approach to read from a traditional StreamReader
?