Solution for "php post zero value, value must be a valid json string""

function isJson($string) { json_decode($string); return (json_last_error() == JSON_ERROR_NONE); }

php check if json

Similar codes for "php post zero value, value must be a valid json string""


Latest 'PHP' questions

Added before "php post zero value, value must be a valid json string""