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

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

Introduction

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

Prototype

static JsonPointer from(String pointer) 

Source Link

Document

Build a JsonPointer from a json pointer string

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");
}