Json class handles JavaScript Object Notation (JSON) data exchange text format.
Method | Description | Available from version |
decode | Executes JSON string decoding and converts data into PHP variables. | |
encode | Returns string containing $data variable JSON representation. | |