function phutil_validate_json($value, $path)Arcanist Technical Documentation ()
function phutil_validate_json($value, $path)
Arcanist Technical Documentation ()
Produce a human-readable explanation why a value can not be JSON-encoded.
Parameters
wild | $value | Value to validate. |
string | $path | Path within the object to provide context. |
Return
string|null | Explanation of why it can't be encoded, or null. |
- Defined
- src/utils/utils.php:1368