Newtonsoft.Json.Converters.UnionConverter public class UnionConverter : JsonConverter Converts types marked with System.Runtime.CompilerServices.UnionAttribute to and from their contained JSON values. Documentation Code public UnionConverter()