public final class JSONPointerUtils
extends java.lang.Object
StructureIdentifier
objects
into a JSON Pointer expression. See RFC 6901 for details of JSON Pointer.
A Java 8 implementation might fold these methods directly into the
StructureIdentifier
interface.
StructureIdentifier
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
toJSONPointer(java.lang.Iterable<? extends StructureIdentifier> ids)
Given a sequence of
StructureIdentifier s as an Iterable ,
create a JSON Pointer string. |
public static java.lang.String toJSONPointer(java.lang.Iterable<? extends StructureIdentifier> ids)
StructureIdentifier
s as an Iterable
,
create a JSON Pointer string.ids
- an Iterable of StructureBuilder objects, from which the
JSON Pointer is created