public class JsonValueContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
index |
protected java.lang.String |
propertyName |
protected java.lang.Object |
value |
Constructor and Description |
---|
JsonValueContext(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns current index.
|
java.lang.String |
getPropertyName()
Returns current property name.
|
java.lang.Object |
getValue()
Returns current object value.
|
void |
incrementIndex() |
void |
reuse(java.lang.Object value)
Reuses this instance for better performances.
|
void |
setPropertyName(java.lang.String propertyName)
Stores current property name.
|
protected java.lang.Object value
protected java.lang.String propertyName
protected int index
public void reuse(java.lang.Object value)
public java.lang.Object getValue()
public void incrementIndex()
public int getIndex()
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
Copyright © 2003-present Jodd Team