Comparison.to_json()

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

Usage

Source

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