public static function serialise(
			$o,
			$options = 0,
			$depth = self::DEFAULT_OUTPUT_DEPTH){
		
		$s = \json_encode($o, $options, $depth);
		static::$_LastError = \json_last_error();
		return $s;
		
	}
public static function serialise(
			$o,
			$options = 0,
			$depth = self::DEFAULT_OUTPUT_DEPTH){
		
		$s = \json_encode($o, $options, $depth);
		static::$_LastError = \json_last_error();
		return $s;
		
	}
public static function serialise ( $ o , $ options = 0 , $ depth = self :: DEFAULT_OUTPUT_DEPTH ) { $ s = \ json_encode ( $ o , $ options , $ depth ) ; static :: $ _LastError = \ json_last_error ( ) ; return $ s ; }
Serialises an object to a JSON formatted string
@param mixed $o
@return string
Serialises an object to a JSON formatted string