json_encode (mixed data) ⇒ string
Translates a map or list into a JSON string.
First available: Version 1.5.3
Prior to version 1.7.3 this function was named to_json.
Notes
This function was renamed as to_json
in version 1.6.6.
Comments