Package jodd.json
Class JsonValueContext
- java.lang.Object
-
- jodd.json.JsonValueContext
-
public class JsonValueContext extends java.lang.ObjectContext of current serialized value.
-
-
Field Summary
Fields Modifier and Type Field Description protected intindexprotected java.lang.StringpropertyNameprotected java.lang.Objectvalue
-
Constructor Summary
Constructors Constructor Description JsonValueContext(java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()Returns current index.java.lang.StringgetPropertyName()Returns current property name.java.lang.ObjectgetValue()Returns current object value.voidincrementIndex()voidreuse(java.lang.Object value)Reuses this instance for better performances.voidsetPropertyName(java.lang.String propertyName)Stores current property name.
-
-
-
Method Detail
-
reuse
public void reuse(java.lang.Object value)
Reuses this instance for better performances.
-
getValue
public java.lang.Object getValue()
Returns current object value.
-
incrementIndex
public void incrementIndex()
-
getIndex
public int getIndex()
Returns current index.
-
getPropertyName
public java.lang.String getPropertyName()
Returns current property name.
-
setPropertyName
public void setPropertyName(java.lang.String propertyName)
Stores current property name.
-
-