<PackageReference Include="System.Text.Json" Version="6.0.0-preview.4.21253.7" />
API Differences between 6.0.0-preview.4.21253.7 and 7.0.0-preview.3.22175.4
122 Additions
88 Removals
System.Text.Json
-
public static class JsonSerializer
- public static TValue Deserialize<TValue>(JsonDocument document, JsonSerializerOptions options = null)
- public static object Deserialize(JsonDocument document, Type returnType, JsonSerializerOptions options = null)
- public static TValue Deserialize<TValue>(JsonDocument document, JsonTypeInfo<TValue> jsonTypeInfo)
- public static object Deserialize(JsonDocument document, Type returnType, JsonSerializerContext context)
- public static TValue Deserialize<TValue>(JsonElement element, JsonSerializerOptions options = null)
- public static object Deserialize(JsonElement element, Type returnType, JsonSerializerOptions options = null)
- public static TValue Deserialize<TValue>(JsonElement element, JsonTypeInfo<TValue> jsonTypeInfo)
- public static object Deserialize(JsonElement element, Type returnType, JsonSerializerContext context)
- public static TValue Deserialize<TValue>(JsonNode node, JsonSerializerOptions options = null)
- public static object Deserialize(JsonNode node, Type returnType, JsonSerializerOptions options = null)
- public static TValue Deserialize<TValue>(JsonNode node, JsonTypeInfo<TValue> jsonTypeInfo)
- public static object Deserialize(JsonNode node, Type returnType, JsonSerializerContext context)
- public static TValue Deserialize<TValue>(Stream utf8Json, JsonSerializerOptions options = null)
- public static object Deserialize(Stream utf8Json, Type returnType, JsonSerializerOptions options = null)
- public static TValue Deserialize<TValue>(Stream utf8Json, JsonTypeInfo<TValue> jsonTypeInfo)
- public static object Deserialize(Stream utf8Json, Type returnType, JsonSerializerContext context)
- public static void Serialize<TValue>(Stream utf8Json, TValue value, JsonSerializerOptions options = null)
- public static void Serialize(Stream utf8Json, object value, Type inputType, JsonSerializerOptions options = null)
- public static void Serialize<TValue>(Stream utf8Json, TValue value, JsonTypeInfo<TValue> jsonTypeInfo)
- public static void Serialize(Stream utf8Json, object value, Type inputType, JsonSerializerContext context)
- public static JsonDocument SerializeToDocument<TValue>(TValue value, JsonSerializerOptions options = null)
- public static JsonDocument SerializeToDocument(object value, Type inputType, JsonSerializerOptions options = null)
- public static JsonDocument SerializeToDocument<TValue>(TValue value, JsonTypeInfo<TValue> jsonTypeInfo)
- public static JsonDocument SerializeToDocument(object value, Type inputType, JsonSerializerContext context)
- public static JsonElement SerializeToElement<TValue>(TValue value, JsonSerializerOptions options = null)
- public static JsonElement SerializeToElement(object value, Type inputType, JsonSerializerOptions options = null)
- public static JsonElement SerializeToElement<TValue>(TValue value, JsonTypeInfo<TValue> jsonTypeInfo)
- public static JsonElement SerializeToElement(object value, Type inputType, JsonSerializerContext context)
- public static JsonNode SerializeToNode<TValue>(TValue value, JsonSerializerOptions options = null)
- public static JsonNode SerializeToNode(object value, Type inputType, JsonSerializerOptions options = null)
- public static JsonNode SerializeToNode<TValue>(TValue value, JsonTypeInfo<TValue> jsonTypeInfo)
- public static JsonNode SerializeToNode(object value, Type inputType, JsonSerializerContext context)
-
public sealed class JsonSerializerOptions
-
public struct JsonWriterOptions
-
public sealed class Utf8JsonWriter : IDisposable, IAsyncDisposable
System.Text.Json.Node
-
public sealed class JsonArray : JsonNode, IList<JsonNode>, ICollection<JsonNode>, IEnumerable<JsonNode>, IEnumerable
-
public abstract class JsonNode : IDynamicMetaObjectProvider
-
public struct JsonNodeOptions
-
public sealed class JsonObject : JsonNode, IDictionary<string, JsonNode>, ICollection<KeyValuePair<string, JsonNode>>, IEnumerable<KeyValuePair<string, JsonNode>>, IEnumerable
-
public abstract class JsonValue : JsonNode
System.Text.Json.Nodes
-
public sealed class JsonArray : JsonNode, IList<JsonNode>, ICollection<JsonNode>, IEnumerable<JsonNode>, IEnumerable
-
public abstract class JsonNode
-
public struct JsonNodeOptions
-
public sealed class JsonObject : JsonNode, IDictionary<string, JsonNode>, ICollection<KeyValuePair<string, JsonNode>>, IEnumerable<KeyValuePair<string, JsonNode>>, IEnumerable
-
public abstract class JsonValue : JsonNode
System.Text.Json.Serialization
System.Text.Json.Serialization.Metadata
-
public sealed class JsonCollectionInfoValues<TCollection>
-
public static class JsonMetadataServices
- public static JsonConverter<JsonArray> JsonArrayConverter { get; }
- public static JsonConverter<JsonElement> JsonElementConverter { get; }
- public static JsonConverter<JsonNode> JsonNodeConverter { get; }
- public static JsonConverter<JsonObject> JsonObjectConverter { get; }
- public static JsonConverter<JsonValue> JsonValueConverter { get; }
- public static JsonConverter<TimeSpan> TimeSpanConverter { get; }
- public static JsonTypeInfo<TElement[]> CreateArrayInfo<TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TElement[]> collectionInfo)
- public static JsonTypeInfo<TCollection> CreateConcurrentQueueInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : ConcurrentQueue<TElement>
- public static JsonTypeInfo<TCollection> CreateConcurrentStackInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : ConcurrentStack<TElement>
- public static JsonTypeInfo<TCollection> CreateDictionaryInfo<TCollection, TKey, TValue>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : Dictionary<TKey, TValue>
- public static JsonTypeInfo<TCollection> CreateICollectionInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : ICollection<TElement>
- public static JsonTypeInfo<TCollection> CreateIDictionaryInfo<TCollection, TKey, TValue>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : IDictionary<TKey, TValue>
- public static JsonTypeInfo<TCollection> CreateIDictionaryInfo<TCollection>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : IDictionary
- public static JsonTypeInfo<TCollection> CreateIEnumerableInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : IEnumerable<TElement>
- public static JsonTypeInfo<TCollection> CreateIEnumerableInfo<TCollection>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : IEnumerable
- public static JsonTypeInfo<TCollection> CreateIListInfo<TCollection>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : IList
- public static JsonTypeInfo<TCollection> CreateIListInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : IList<TElement>
- public static JsonTypeInfo<TCollection> CreateImmutableDictionaryInfo<TCollection, TKey, TValue>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo, Func<IEnumerable<KeyValuePair<TKey, TValue>>, TCollection> createRangeFunc) where TCollection : IReadOnlyDictionary<TKey, TValue>
- public static JsonTypeInfo<TCollection> CreateImmutableEnumerableInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo, Func<IEnumerable<TElement>, TCollection> createRangeFunc) where TCollection : IEnumerable<TElement>
- public static JsonTypeInfo<TCollection> CreateIReadOnlyDictionaryInfo<TCollection, TKey, TValue>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : IReadOnlyDictionary<TKey, TValue>
- public static JsonTypeInfo<TCollection> CreateISetInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : ISet<TElement>
- public static JsonTypeInfo<TCollection> CreateListInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : List<TElement>
- public static JsonTypeInfo<T> CreateObjectInfo<T>(JsonSerializerOptions options, JsonObjectInfoValues<T> objectInfo)
- public static JsonPropertyInfo CreatePropertyInfo<T>(JsonSerializerOptions options, JsonPropertyInfoValues<T> propertyInfo)
- public static JsonTypeInfo<TCollection> CreateQueueInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : Queue<TElement>
- public static JsonTypeInfo<TCollection> CreateQueueInfo<TCollection>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo, Action<TCollection, object> addFunc) where TCollection : IEnumerable
- public static JsonTypeInfo<TCollection> CreateStackInfo<TCollection, TElement>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo) where TCollection : Stack<TElement>
- public static JsonTypeInfo<TCollection> CreateStackInfo<TCollection>(JsonSerializerOptions options, JsonCollectionInfoValues<TCollection> collectionInfo, Action<TCollection, object> addFunc) where TCollection : IEnumerable
- public static JsonTypeInfo<TElement[]> CreateArrayInfo<TElement>(JsonSerializerOptions options, JsonTypeInfo elementInfo, JsonNumberHandling numberHandling)
- public static JsonTypeInfo<TCollection> CreateDictionaryInfo<TCollection, TKey, TValue>(JsonSerializerOptions options, Func<TCollection> createObjectFunc, JsonTypeInfo keyInfo, JsonTypeInfo valueInfo, JsonNumberHandling numberHandling) where TCollection : Dictionary<TKey, TValue>
- public static JsonTypeInfo<TCollection> CreateListInfo<TCollection, TElement>(JsonSerializerOptions options, Func<TCollection> createObjectFunc, JsonTypeInfo elementInfo, JsonNumberHandling numberHandling) where TCollection : List<TElement>
- public static JsonTypeInfo<T> CreateObjectInfo<T>()
- public static JsonPropertyInfo CreatePropertyInfo<T>(JsonSerializerOptions options, bool isProperty, Type declaringType, JsonTypeInfo propertyTypeInfo, JsonConverter<T> converter, Func<object, T> getter, Action<object, T> setter, JsonIgnoreCondition ignoreCondition, JsonNumberHandling numberHandling, string propertyName, string jsonPropertyName)
- public static JsonConverter<T> GetUnsupportedTypeConverter<T>()
- public static void InitializeObjectInfo<T>(JsonTypeInfo<T> info, JsonSerializerOptions options, Func<T> createObjectFunc, Func<JsonSerializerContext, JsonPropertyInfo[]> propInitFunc, JsonNumberHandling numberHandling)
-
public sealed class JsonObjectInfoValues<T>
-
public sealed class JsonParameterInfoValues
-
public sealed class JsonPropertyInfoValues<T>
-
public class JsonTypeInfo
-
public abstract class JsonTypeInfo<T> : JsonTypeInfo