def test_is_json_not_2(self): self.assertFalse(is_json('a=b&d=3'))
def test_is_json_dict(self): self.assertTrue(is_json('{"a": "b"}'))
def test_is_json_not(self): self.assertFalse(is_json('a=b'))
def test_is_json_str(self): self.assertTrue(is_json('"a"'))
def test_is_json_lst(self): self.assertTrue(is_json('["a", "b"]'))
def test_is_json_int(self): self.assertTrue(is_json('1'))