setSchema

Provide either recommended or custom schema instead of default org.snakeyaml.engine.v2.schema.JsonSchema. These 3 are available org.snakeyaml.engine.v2.schema.FailsafeSchema, org.snakeyaml.engine.v2.schema.JsonSchema, org.snakeyaml.engine.v2.schema.CoreSchema.

Return

the builder with the provided value

Parameters

schema
  • the tag schema