bobocep.cep.engine.receiver.validator.BoboValidatorJSONable

class bobocep.cep.engine.receiver.validator.BoboValidatorJSONable[source]

Bases: BoboValidator

Validates whether the data type is JSONable. If the data are a BoboEvent, then the event’s data are checked instead.

__init__()
is_valid(data: Any) bool[source]
Returns:

True if data are valid JSON; False otherwise.