Converts the array to JSON string.
It is a wrapper over the system function json_encode. It is introduced to give the ability to overwrite the system function if necessary.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $array | by reference | array |
Array to be converted. |
Returns the JSON string of the array.