======jsonencode====== Convert a value to a JSON representation. \\ **Syntax** * ''[[PTPScript:Types:String|String]] jsonencode( [[PTPScript:Types:Mixed|Mixed]] subject )'' \\ **Parameters** * [[PTPScript:Types:Mixed|Mixed]] ''subject'' - The value to convert. \\ **Result** * [[PTPScript:Types:String|String]] - The converted value. Returns ''subject'' converted into JSON format.