Class JsonValueContext

java.lang.Object
jodd.json.JsonValueContext

public class JsonValueContext extends Object
Context of current serialized value.
  • Field Details

    • value

      protected Object value
    • propertyName

      protected String propertyName
    • index

      protected int index
  • Constructor Details

    • JsonValueContext

      public JsonValueContext(Object value)
  • Method Details

    • reuse

      public void reuse(Object value)
      Reuses this instance for better performances.
    • getValue

      public Object getValue()
      Returns current object value.
    • incrementIndex

      public void incrementIndex()
    • getIndex

      public int getIndex()
      Returns current index.
    • getPropertyName

      public String getPropertyName()
      Returns current property name.
    • setPropertyName

      public void setPropertyName(String propertyName)
      Stores current property name.