<PackageReference Include="NETStandard.Library" Version="2.0.3" />

System.Runtime.Serialization.Json.DataContractJsonSerializer

namespace System.Runtime.Serialization.Json { public sealed class DataContractJsonSerializer : XmlObjectSerializer { public DateTimeFormat DateTimeFormat { get; } public EmitTypeInformation EmitTypeInformation { get; } public bool IgnoreExtensionDataObject { get; } public ReadOnlyCollection<Type> KnownTypes { get; } public int MaxItemsInObjectGraph { get; } public bool SerializeReadOnlyTypes { get; } public bool UseSimpleDictionaryFormat { get; } public DataContractJsonSerializer(Type type); public DataContractJsonSerializer(Type type, IEnumerable<Type> knownTypes); public DataContractJsonSerializer(Type type, DataContractJsonSerializerSettings settings); public DataContractJsonSerializer(Type type, string rootName); public DataContractJsonSerializer(Type type, string rootName, IEnumerable<Type> knownTypes); public DataContractJsonSerializer(Type type, XmlDictionaryString rootName); public DataContractJsonSerializer(Type type, XmlDictionaryString rootName, IEnumerable<Type> knownTypes); } }