Answers for "hwo to detect a variable is json or string php"

PHP
0

php check valid json string

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

Code answers related to "hwo to detect a variable is json or string php"

Browse Popular Code Answers by Language