public void Regression_0xa00000() { BigIntegerConverter converter = new BigIntegerConverter(); JsonReader reader = new JsonTextReader(new StringReader("0xa00000")); reader.ReadAsString(); BigInteger result = converter.ReadJson(reader, typeof(BigInteger), BigInteger.Zero, false, JsonSerializer.CreateDefault()); Assert.AreEqual(BigInteger.Parse("10485760"), result); }