CheckFailure.to_json

CheckFailure.to_json(with_display: bool = True)[source]

Return check failure as json.

Parameters
with_displaybool

controls if to serialize display or not

Returns
dict

{‘name’: .., ‘params’: .., ‘header’: .., ‘display’: ..}