moi moi - 2019-09-10 13:52:24
Hello
i use this code on my site :
$content = file_get_contents("php://input");
$uu=json_decode($content);
i just added that :
$jsonq = new Jsonq($content);
The json_decode works fine
But for the jsonq, i get this error.
( ! ) Fatal error: Uncaught Nahid\JsonQ\Exceptions\InvalidJsonException: Invalid JSON format in E:\wamp64\www\ga\vendor\nahid\jsonq\src\Jsonq.php on line 30
( ! ) Nahid\JsonQ\Exceptions\InvalidJsonException: Invalid JSON format in E:\wamp64\www\ga\vendor\nahid\jsonq\src\Jsonq.php on line 30
Someone know what to do ?
Thank you.