Returns the given value as a string. If value is a string then value is returned. If value is an object or array then value is JSON encoded and returned. If value is a date then the ISO string for the date is returned.
value
The value to convert to a string.
Returns the given
valueas a string. Ifvalueis a string thenvalueis returned. Ifvalueis an object or array thenvalueis JSON encoded and returned. Ifvalueis a date then the ISO string for the date is returned.