toJson()
toJson(integer $options) : string
Convert the object to its JSON representation.
Parameters
integer | $options |
<?php
namespace MiotApi\Util\Collection;
interface Jsonable
{
/**
* Convert the object to its JSON representation.
*
* @param int $options
*
* @return string
*/
public function toJson($options = 0);
}