Newtonsoft.Json.Utilities.EnumUtils
public static object ParseEnum(Type enumType, NamingStrategy namingStrategy, string value, bool disallowNumber)
public static bool TryToString(Type enumType, object value, NamingStrategy namingStrategy, out string name)