Class Ref

java.lang.Object
io.vertx.mutiny.json.schema.Ref
All Implemented Interfaces:
MutinyDelegate

public class Ref extends Object implements MutinyDelegate
JsonObject $ref resolver. This interface is used to resolve $ref in a . The result is a new with all the $ref replaced by actual object references. This new object allows navigation and queries using JsonPointer but will not be able to be encoded back to JSON when circular dependencies are present. The resolver will only resolve local references as defined in RFC3986. A local reference is a reference that starts with # and is followed by a valid JSON Pointer.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final TypeArg<Ref> __TYPE_ARG
  • Constructor Details

    • Ref

      public Ref(io.vertx.json.schema.Ref delegate)
    • Ref

      public Ref(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.json.schema.Ref getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • resolve

      public static io.vertx.core.json.JsonObject resolve(io.vertx.core.json.JsonObject json)
      Parameters:
      json - the JSON object to resolve.
      Returns:
      a new JSON object with all the $ref replaced by actual object references.
    • newInstance

      public static Ref newInstance(io.vertx.json.schema.Ref arg)