示例#1
0
        public void AsGuid_with_valid_guid()
        {
            const string guidStr   = "4D36E965-E325-11CE-BFC1-08002BE10318";
            JsonValue    jsonValue = JsonValue.NewString(guidStr);
            Guid         result    = jsonValue.AsGuid();

            Assert.AreEqual(new Guid(guidStr), result);
        }