<PackageReference Include="System.Text.Json" Version="4.6.0-preview6.19303.8" />
API Differences between 4.6.0-preview6.19303.8 and 5.0.0-preview.1.20120.5
59 Additions
73 Removals
System.Text.Json
-
public enum DuplicatePropertyNameHandlingStrategy
-
public sealed class JsonArray : JsonNode, IList<JsonNode>, ICollection<JsonNode>, IEnumerable<JsonNode>, IEnumerable, IReadOnlyList<JsonNode>, IReadOnlyCollection<JsonNode>
-
public struct JsonArrayEnumerator : IEnumerator<JsonNode>, IEnumerator, IDisposable
-
public sealed class JsonBoolean : JsonNode, IEquatable<JsonBoolean>
-
public sealed class JsonDocument : IDisposable
- public static JsonDocument Parse(ReadOnlyMemory<byte> utf8Json, JsonDocumentOptions options = default)
- public static JsonDocument Parse(ReadOnlySequence<byte> utf8Json, JsonDocumentOptions options = default)
- public static JsonDocument Parse(Stream utf8Json, JsonDocumentOptions options = default)
- public static JsonDocument Parse(ReadOnlyMemory<char> json, JsonDocumentOptions options = default)
- public static JsonDocument Parse(string json, JsonDocumentOptions options = default)
- public static Task<JsonDocument> ParseAsync(Stream utf8Json, JsonDocumentOptions options = default, CancellationToken cancellationToken = default)
- public static JsonDocument Parse(ReadOnlyMemory<byte> utf8Json, JsonReaderOptions readerOptions = default)
- public static JsonDocument Parse(ReadOnlySequence<byte> utf8Json, JsonReaderOptions readerOptions = default)
- public static JsonDocument Parse(Stream utf8Json, JsonReaderOptions readerOptions = default)
- public static JsonDocument Parse(ReadOnlyMemory<char> json, JsonReaderOptions readerOptions = default)
- public static JsonDocument Parse(string json, JsonReaderOptions readerOptions = default)
- public static Task<JsonDocument> ParseAsync(Stream utf8Json, JsonReaderOptions readerOptions = default, CancellationToken cancellationToken = default)
- public void WriteTo(Utf8JsonWriter writer)
-
public struct JsonDocumentOptions
-
public struct JsonElement
-
public struct JsonEncodedText : IEquatable<JsonEncodedText>
-
public class JsonException : Exception
-
public abstract class JsonNamingPolicy
-
public abstract class JsonNode
-
public struct JsonNodeOptions
-
public sealed class JsonNull : JsonNode, IEquatable<JsonNull>
-
public sealed class JsonNumber : JsonNode, IEquatable<JsonNumber>
-
public sealed class JsonObject : JsonNode, IEnumerable<KeyValuePair<string, JsonNode>>, IEnumerable
-
public struct JsonObjectEnumerator : IEnumerator<KeyValuePair<string, JsonNode>>, IEnumerator, IDisposable
-
public struct JsonProperty
-
public struct JsonReaderState
-
public static class JsonSerializer
-
public sealed class JsonSerializerOptions
-
public sealed class JsonString : JsonNode, IEquatable<JsonString>
-
public enum JsonValueKind
-
public enum JsonValueType
-
public struct JsonWriterOptions
-
public struct Utf8JsonReader
-
public sealed class Utf8JsonWriter : IDisposable
System.Text.Json.Serialization
-
public abstract class JsonConverter
-
public abstract class JsonConverter<T> : JsonConverter
-
public class JsonConverterAttribute : JsonAttribute
-
public abstract class JsonConverterFactory : JsonConverter
-
public abstract class JsonNamingPolicy
-
public sealed class JsonStringEnumConverter : JsonConverterFactory
-
public sealed class ReferenceHandling
-
public static class JsonSerializer
- public static TValue Parse<TValue>(string json, JsonSerializerOptions options = null)
- public static object Parse(string json, Type returnType, JsonSerializerOptions options = null)
- public static TValue Parse<TValue>(ReadOnlySpan<byte> utf8Json, JsonSerializerOptions options = null)
- public static object Parse(ReadOnlySpan<byte> utf8Json, Type returnType, JsonSerializerOptions options = null)
- public static ValueTask<TValue> ReadAsync<TValue>(Stream utf8Json, JsonSerializerOptions options = null, CancellationToken cancellationToken = default)
- public static ValueTask<object> ReadAsync(Stream utf8Json, Type returnType, JsonSerializerOptions options = null, CancellationToken cancellationToken = default)
- public static TValue ReadValue<TValue>(ref Utf8JsonReader reader, JsonSerializerOptions options = null)
- public static object ReadValue(ref Utf8JsonReader reader, Type returnType, JsonSerializerOptions options = null)
- public static string ToString<TValue>(TValue value, JsonSerializerOptions options = null)
- public static string ToString(object value, Type type, JsonSerializerOptions options = null)
- public static byte[] ToUtf8Bytes<TValue>(TValue value, JsonSerializerOptions options = null)
- public static byte[] ToUtf8Bytes(object value, Type type, JsonSerializerOptions options = null)
- public static Task WriteAsync<TValue>(TValue value, Stream utf8Json, JsonSerializerOptions options = null, CancellationToken cancellationToken = default)
- public static Task WriteAsync(object value, Type type, Stream utf8Json, JsonSerializerOptions options = null, CancellationToken cancellationToken = default)
-
public sealed class JsonSerializerOptions