function phutil_json_encode($value)libphutil Technical Documentation (Core Utilities)
function phutil_json_encode($value)
libphutil Technical Documentation (Core Utilities)
Encode a value in JSON, raising an exception if it can not be encoded.
Parameters
wild | $value | A value to encode. |
Return
string | JSON representation of the value. |
- Defined
- src/utils/utils.php:1327