public class JsonPointerTracker extends Object
Modifier and Type | Field and Description |
---|---|
private String |
currentNode |
private String |
jsonPointer |
private JsonPointerTracker |
parent |
Constructor and Description |
---|
JsonPointerTracker(JsonPointerTracker jsonPointer,
int i)
For Arrays and Lists.
|
JsonPointerTracker(JsonPointerTracker parent,
String currentNode) |
private final JsonPointerTracker parent
private final String currentNode
private String jsonPointer
public JsonPointerTracker(JsonPointerTracker parent, String currentNode)
parent
- or null
if this is the root objectcurrentNode
- the name of the attribute or "/" for the root objectpublic JsonPointerTracker(JsonPointerTracker jsonPointer, int i)
jsonPointer
- i
- current counter numberCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.