<PackageReference Include="Newtonsoft.Json" Version="14.0.1-beta2" />

Newtonsoft.Json.Converters.UnionConverter

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