/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
private JsonPointer getPointer(JsonObject operation, String member) { JsonString pointerString = operation.getJsonString(member); if (pointerString == null) { missingMember(operation.getString("op"), member); } return Json.createPointer(pointerString.getString()); }
private JsonPointer getPointer(JsonObject operation, String member) { JsonString pointerString = operation.getJsonString(member); if (pointerString == null) { missingMember(operation.getString("op"), member); } return Json.createPointer(pointerString.getString()); }
private JsonPointer toPointer(final String absoluteTargetPath) { return Json.createPointer('/' + absoluteTargetPath.replace('.', '/')); }
/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
/** * Get the value referenced by the provided JSON Pointer in the JsonStructure. * * @param jsonPointer the JSON Pointer * @return the {@code JsonValue} at the referenced location * @throws JsonException if the JSON Pointer is malformed, or if it references * a non-existing member or value. * * @since 1.1 */ default public JsonValue getValue(String jsonPointer) { return Json.createPointer(jsonPointer).getValue(this); } }
private JsonPointer getPointer(JsonObject operation, String member) { JsonString pointerString = operation.getJsonString(member); if (pointerString == null) { missingMember(operation.getString("op"), member); } return Json.createPointer(pointerString.getString()); }
private JsonPointer getPointer(JsonObject operation, String member) { JsonString pointerString = operation.getJsonString(member); if (pointerString == null) { missingMember(operation.getString("op"), member); } return Json.createPointer(pointerString.getString()); }
private JsonPointer getPointer(JsonObject operation, String member) { JsonString pointerString = operation.getJsonString(member); if (pointerString == null) { missingMember(operation.getString("op"), member); } return Json.createPointer(pointerString.getString()); }
private JsonPointer getPointer(JsonObject operation, String member) { JsonString pointerString = operation.getJsonString(member); if (pointerString == null) { missingMember(operation.getString("op"), member); } return Json.createPointer(pointerString.getString()); }