Example usage for io.vertx.core.json.pointer JsonPointer create

List of usage examples for io.vertx.core.json.pointer JsonPointer create

Introduction

In this page you can find the example usage for io.vertx.core.json.pointer JsonPointer create.

Prototype

static JsonPointer create() 

Source Link

Document

Build an empty JsonPointer

Usage

From source file:examples.JsonPointerExamples.java

License:Open Source License

public void example1Pointers() {
    // Build a pointer from a string
    JsonPointer pointer1 = JsonPointer.from("/hello/world");
    // Build a pointer manually
    JsonPointer pointer2 = JsonPointer.create().append("hello").append("world");
}