Class JsonWriteContext


  • public class JsonWriteContext
    extends JsonStreamContext
    Extension of JsonStreamContext, which implements core methods needed, and also exposes more complete API to generator implementation classes.
    • Field Detail

      • _parent

        protected final JsonWriteContext _parent
        Parent context for this context; null for root context.
      • _currentName

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

        protected java.lang.Object _currentValue
        Since:
        2.5
      • _gotName

        protected boolean _gotName
        Marker used to indicate that we just wrote a name, and now expect a value to write