示例#1
0
        public void Clear()
        {
            JsonObject obj = new JsonObject(new KeyValuePair<string, JsonValue>("key", new JsonPrimitive(true)));
            obj.Clear();
            Assert.Equal(0, obj.Count);

            obj.Clear();
            Assert.Equal(0, obj.Count);
        }