Ejemplo n.º 1
0
 function testIsJSON()
 {
     $json_data = ['hello' => 'world'];
     $this->assertTrue(\qtil\StringUtil::isJSON(json_encode($json_data)));
 }