# Comparison.to_json()


Get the comparison results as a JSON string (see `to_dict()`).


Usage

``` python
Comparison.to_json(
    samples=True,
    limit=10,
    indent=2,
)
```
