Class FailsafeSchema

  • All Implemented Interfaces:
    Schema

    public class FailsafeSchema
    extends Object
    implements Schema
    The failsafe schema is guaranteed to work with any YAML document. It is therefore the recommended schema for generic YAML tools.
    • Constructor Detail

      • FailsafeSchema

        public FailsafeSchema()
    • Method Detail

      • getScalarResolver

        public ScalarResolver getScalarResolver()
        Create FailsafeScalarResolver
        Specified by:
        getScalarResolver in interface Schema
        Returns:
        ScalarResolver which resolves everything as string