SyntaxFix
Write A Post
Hire A Developer
Questions
//Tested thoroughly, Should do the job: public static function is_json(string $json):bool { json_decode($json); if (json_last_error() === JSON_ERROR_NONE) { return true; } return false; }