Пример #1
0
        public void ParseToString_MustReturnOrigin()
        {
            var visitor = new JsonVisitor("aaa");
            var val     = JsonVisitorExtensions.TryGet(visitor, typeof(string), out var ex, out var res);

            Assert.IsTrue(val);
            Assert.IsNull(ex);
            Assert.AreEqual(visitor.ToString(), res);
        }