Asvae\ApiTester\Entities\BaseEntity::toJson PHP Method

toJson() public method

Convert the object to its JSON representation.
public toJson ( integer $options ) : string
$options integer
return string
    public function toJson($options = 0)
    {
        return json_encode($this->jsonSerialize(), $options);
    }