Support synchronous Stream-based serialization methods (#54632)
authorSteve Harter <steveharter@users.noreply.github.com>
Thu, 24 Jun 2021 19:35:35 +0000 (14:35 -0500)
committerGitHub <noreply@github.com>
Thu, 24 Jun 2021 19:35:35 +0000 (14:35 -0500)
commit8faef776655a6b8054972950d5bb043f1d00e830
tree3542ef4a3fdcc947739f846228dc82b1355a4300
parent9bbf90582fcfb98c8c9fd279e384c7cf630bfad6
Support synchronous Stream-based serialization methods (#54632)
24 files changed:
src/libraries/Common/src/System/Text/Json/PooledByteBufferWriter.cs
src/libraries/System.Net.Http.Json/src/System/Net/Http/Json/JsonContent.cs
src/libraries/System.Net.Http.Json/src/System/Net/Http/Json/JsonContentOfT.cs
src/libraries/System.Text.Json/ref/System.Text.Json.cs
src/libraries/System.Text.Json/src/System.Text.Json.csproj
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Read.Stream.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Write.Stream.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReadBufferState.cs [moved from src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReadAsyncBufferState.cs with 84% similarity]
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/ConstructorTests/ConstructorTests.ParameterMatching.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/DeserializationWrapper.cs [deleted file]
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/InvalidTypeTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/JsonSerializationWrapperForStream.cs [new file with mode: 0644]
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/JsonSerializerWrapperForString.cs [new file with mode: 0644]
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/MetadataTests/MetadataTests.JsonSerializer.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/MetadataTests/MetadataTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/NumberHandlingTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/PolymorphicTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/SerializationWrapper.cs [deleted file]
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/Stream.Collections.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/Stream.ReadTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/Stream.WriteTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/StreamTests.cs [new file with mode: 0644]
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/WriteValueTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/System.Text.Json.Tests.csproj