SaladLab / Json.Net.Unity3D

Forked Newtonsoft.Json to support Unity3D
MIT License
918 stars 169 forks source link

Value is greater than UInt16.MaxValue or less than UInt16.MinValue #20

Closed bytetalking closed 7 years ago

bytetalking commented 7 years ago

OverflowException: Value is greater than UInt16.MaxValue or less than UInt16.MinValue System.Convert.ToUInt16 (Int64 value) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Convert.cs:2070) System.Int64.System.IConvertible.ToUInt16 (IFormatProvider provider) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Int64.cs:600) System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Convert.cs:2907) System.Convert.ChangeType (System.Object value, System.Type conversionType, IFormatProvider provider) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Convert.cs:2511) Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) (at C:/Project/Github/Json.Net.Unity3D/src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs:997)

hello, i found this error, maybe jsonstr is too long?

bytetalking commented 7 years ago

my error!