Esempio n. 1
0
 /**
  * Converts an object into a JSON formatted string.
  *
  * @param   object  $object   Data source object.
  * @param   array   $options  Options used by the formatter.
  *
  * @return  string  JSON formatted string.
  *
  * @since   1.0
  */
 public function objectToString($object, $options = array())
 {
     return String::unicode_to_utf8(json_encode($object));
 }