LMongo\Query\Cursor::toJson PHP Méthode

toJson() public méthode

Get the items as JSON.
public toJson ( integer $options ) : string
$options integer
Résultat string
    public function toJson($options = 0)
    {
        return json_encode($this->toArray(), $options);
    }