Skip to content

Commit eea9fed

Browse files
Update docs/core/whats-new/dotnet-9/libraries.md
Co-authored-by: Genevieve Warren <[email protected]>
1 parent ac9fa7d commit eea9fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/whats-new/dotnet-9/libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ reader.Skip(); // Success
620620
reader.Read(); // throws JsonReaderException
621621
```
622622

623-
When it comes to streaming deserialization, we have included a new <xref:System.Text.Json.JsonSerializer.DeserializeAsyncEnumerable> overload that makes streaming multiple top-level values possible. By default, the method will attempt to stream elements that are contained in a top-level JSON array. This behavior can be toggled using the new `topLevelValues` flag:
623+
When it comes to streaming deserialization, a new <xref:System.Text.Json.JsonSerializer.DeserializeAsyncEnumerable> overload makes streaming multiple top-level values possible. By default, the method attempts to stream elements that are contained in a top-level JSON array. You can toggle this behavior using the new `topLevelValues` flag:
624624

625625
```csharp
626626
ReadOnlySpan<byte> utf8Json = """[0] [0,1] [0,1,1] [0,1,1,2] [0,1,1,2,3]"""u8;

0 commit comments

Comments
 (0)