Answers for "how to validate json php"

PHP
-1

php check valid json string

@json_decode($page_str);
$json_OK=	json_last_error() == JSON_ERROR_NONE;
Posted by: Guest on January-12-2021

Browse Popular Code Answers by Language