Class JsonSchemasConverter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable java.util.Collection<JsonSchema> convert​(java.lang.String name, @Nullable java.lang.Object value, java.lang.String location)
      converts the value of a property to a T object or null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonSchemasConverter

        public JsonSchemasConverter​(JsonSchemaContext parentContext)
    • Method Detail

      • convert

        public @Nullable java.util.Collection<JsonSchema> convert​(java.lang.String name,
                                                                  @Nullable java.lang.Object value,
                                                                  java.lang.String location)
        Description copied from interface: PropertyConverter
        converts the value of a property to a T object or null. May throw if conversion fails, e.g. if the property is required but null.
        Specified by:
        convert in interface PropertyConverter<java.util.Collection<JsonSchema>>
        Parameters:
        name - property name
        value - property value
        location - property location, json pointer
        Returns:
        T converted value