<PackageReference Include="System.Private.DataContractSerialization" Version="4.3.0" />

System.Runtime.Serialization.Json.DataContractJsonSerializerSettings

public DateTimeFormat DateTimeFormat { get; set; }

public bool IgnoreExtensionDataObject { get; set; }

public IEnumerable<Type> KnownTypes { get; set; }

public int MaxItemsInObjectGraph { get; set; }

public string RootName { get; set; }

public bool SerializeReadOnlyTypes { get; set; }

public bool UseSimpleDictionaryFormat { get; set; }