CheckFailure.to_json#

CheckFailure.to_json(**kwargs)[source]#

Serialize CheckFailure into a json string.

Returned JSON string will have next structure:

>> class CheckFailureMetadata(TypedDict): >> check: CheckMetadata >> header: str >> display: List[Dict[str, str]]

>> class CheckMetadata(TypedDict): >> type: str >> name: str >> params: Dict[Any, Any] >> summary: str

Returns
str