Utility class for validating and inferring schemas.
Returns text read as JSON into plain Kotlin values, or text itself if it is not strict JSON or is nested too deep to read.
Validates a map against a schema.
Parses a model output string as JSON and validates it against a schema.