示例#1
0
        public void AsInteger_with_valid_integer()
        {
            JsonValue jsonValue = JsonValue.NewString("123456");
            int       result    = jsonValue.AsInteger();

            Assert.AreEqual(123456, result);
        }