public void testEmptyJson() { JsonValidator val = new JsonValidator(); Assert.Equal(true, val.validate("")); }
public void testSimpleJson() { JsonValidator val = new JsonValidator(); Assert.Equal(true, val.validate(@"{""root"":{ ""field1"":""b"", ""field2"" : 33, ""field3"" : -22.5, ""field4"" : false }}")); }