Validator module

Validator implementation

class json_schema_validator.validator.Validator

JSON Schema validator.

Can be used to validate any JSON document against a json_schema_validator.schema.Schema.

classmethod validate(schema, obj)

Validate specified JSON object obj with specified Schema instance schema.

Parameters:
Return type:

bool

Returns:

True on success

Raises:

Previous topic

Shortcuts module

Next topic

Version History

This Page