Primitive.validate_json

Primitive.validate_json()[source]

Validate the object’s data against its json schema (self.JSONSCHEMA).

Returns

str – The validated JSON representation of the data.

Raises

SchemaError