Class SimpleStreamWriteContext

java.lang.Object
tools.jackson.core.TokenStreamContext
tools.jackson.core.util.SimpleStreamWriteContext

public final class SimpleStreamWriteContext extends TokenStreamContext
Basic implementation of TokenStreamContext useful for most format backend JsonGenerator implementations (with notable exception of JSON that needs bit more advanced state).
Since:
3.0
  • Field Details

    • _parent

      protected final SimpleStreamWriteContext _parent
      Parent context for this context; null for root context.
    • _dups

      protected DupDetector _dups
    • _childToRecycle

      protected SimpleStreamWriteContext _childToRecycle
    • _currentName

      protected String _currentName
      Name of the property of which value is to be written; only used for OBJECT contexts.
    • _currentValue

      protected Object _currentValue
    • _gotPropertyId

      protected boolean _gotPropertyId
      Marker used to indicate that we just wrote a property name (or possibly property id for some backends) and now expect a value to write.
  • Constructor Details

  • Method Details