Convert a value to a JSON representation.
Syntax
String jsonencode( Mixed subject )
Parameters
subject
Result
Returns subject converted into JSON format.