JoyfillSchemaManager

Utility class for validating JoyDoc documents against JSON schema

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun validateSchema(documentJson: String): SchemaError?

Validates a JoyDoc document against the JSON schema

fun validateSchema(documentJsonObject: JsonObject): SchemaError?

Validates a JoyDoc document against the JSON schema, this function has less of memory footprint than validateSchema with String