public void testTooEmptyDocument() throws IOException {
assertFalse(new JsonValidator().isValid(""));
}
public void testValidDocument() throws IOException {
assertTrue(new JsonValidator().isValid("{}"));
assertTrue(new JsonValidator().isValid("{\"a\": 1}"));
assertTrue(new JsonValidator().isValid("{\"a\": 1, \"b\": 2}"));
}