<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />

Newtonsoft.Json.Utilities.ConvertUtils

static class ConvertUtils
namespace Newtonsoft.Json.Utilities { internal static class ConvertUtils { public static PrimitiveTypeCode GetTypeCode(Type t); public static PrimitiveTypeCode GetTypeCode(Type t, out bool isEnum); public static TypeInformation GetTypeInformation(IConvertible convertable); public static bool IsConvertible(Type t); public static TimeSpan ParseTimeSpan(string input); public static object Convert(object initialValue, CultureInfo culture, Type targetType); public static object ConvertOrCast(object initialValue, CultureInfo culture, Type targetType); public static bool VersionTryParse(string input, out Version result); public static bool IsInteger(object value); public static ParseResult Int32TryParse(char[] chars, int start, int length, out int value); public static ParseResult Int64TryParse(char[] chars, int start, int length, out long value); public static ParseResult DecimalTryParse(char[] chars, int start, int length, out decimal value); public static bool TryConvertGuid(string s, out Guid g); public static bool TryHexTextToInt(char[] text, int start, int end, out int value); } }