Package io.vertx.mutiny.json.schema
Class Ref
- java.lang.Object
-
- io.vertx.mutiny.json.schema.Ref
-
public class Ref extends Object
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 usingJsonPointer
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 theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Ref>
__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
io.vertx.json.schema.Ref
getDelegate()
int
hashCode()
static Ref
newInstance(io.vertx.json.schema.Ref arg)
static io.vertx.core.json.JsonObject
resolve(io.vertx.core.json.JsonObject json)
String
toString()
-
-
-
Constructor Detail
-
Ref
public Ref(io.vertx.json.schema.Ref delegate)
-
Ref
public Ref(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.json.schema.Ref getDelegate()
-
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)
-
-