Home
last modified time | relevance | path

Searched refs:_writeContext (Results 1 – 5 of 5) sorted by relevance

/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/
DGeneratorBase.java89 protected JsonWriteContext _writeContext; field in GeneratorBase
111 _writeContext = JsonWriteContext.createRootContext(dups); in GeneratorBase()
123 _writeContext = ctxt; in GeneratorBase()
136 return _writeContext.getCurrentValue(); in getCurrentValue()
141 if (_writeContext != null) { in setCurrentValue()
142 _writeContext.setCurrentValue(v); in setCurrentValue()
170 if (_writeContext.getDupDetector() == null) { // but only if disabled currently in enable()
171 _writeContext = _writeContext.withDupDetector(DupDetector.rootDetector(this)); in enable()
189 _writeContext = _writeContext.withDupDetector(null); in disable()
243 if (_writeContext.getDupDetector() == null) { // but only if disabled currently in _checkStdFeatureChanges()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java135 protected JsonWriteContext _writeContext; field in TokenBuffer
154 _writeContext = JsonWriteContext.createRootContext(null); in TokenBuffer()
179 _writeContext = JsonWriteContext.createRootContext(null); in TokenBuffer()
628 public final JsonWriteContext getOutputContext() { return _writeContext; } in getOutputContext()
679 _writeContext.writeValue(); in writeStartArray()
681 _writeContext = _writeContext.createChildArrayContext(); in writeStartArray()
686 _writeContext.writeValue(); in writeStartArray()
688 _writeContext = _writeContext.createChildArrayContext(forValue); in writeStartArray()
693 _writeContext.writeValue(); in writeStartArray()
695 _writeContext = _writeContext.createChildArrayContext(forValue); in writeStartArray()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DUTF8JsonGenerator.java218 final int status = _writeContext.writeFieldName(name); in writeFieldName()
268 final int status = _writeContext.writeFieldName(name.getValue()); in writeFieldName()
317 _writeContext = _writeContext.createChildArrayContext(); in writeStartArray()
332 _writeContext = _writeContext.createChildArrayContext(currentValue); in writeStartArray()
347 _writeContext = _writeContext.createChildArrayContext(currentValue); in writeStartArray()
361 if (!_writeContext.inArray()) { in writeEndArray()
362 _reportError("Current context not Array but "+_writeContext.typeDesc()); in writeEndArray()
365 _cfgPrettyPrinter.writeEndArray(this, _writeContext.getEntryCount()); in writeEndArray()
372 _writeContext = _writeContext.clearAndGetParent(); in writeEndArray()
379 _writeContext = _writeContext.createChildObjectContext(); in writeStartObject()
[all …]
DWriterBasedJsonGenerator.java148 int status = _writeContext.writeFieldName(name); in writeFieldName()
159 int status = _writeContext.writeFieldName(name.getValue()); in writeFieldName()
250 _writeContext = _writeContext.createChildArrayContext(); in writeStartArray()
265 _writeContext = _writeContext.createChildArrayContext(currentValue); in writeStartArray()
280 _writeContext = _writeContext.createChildArrayContext(currentValue); in writeStartArray()
294 if (!_writeContext.inArray()) { in writeEndArray()
295 _reportError("Current context not Array but "+_writeContext.typeDesc()); in writeEndArray()
298 _cfgPrettyPrinter.writeEndArray(this, _writeContext.getEntryCount()); in writeEndArray()
305 _writeContext = _writeContext.clearAndGetParent(); in writeEndArray()
312 _writeContext = _writeContext.createChildObjectContext(); in writeStartObject()
[all …]
DJsonGeneratorImpl.java231 if (_writeContext.inArray()) { in _verifyPrettyValueWrite()
233 } else if (_writeContext.inObject()) { in _verifyPrettyValueWrite()
249 typeMsg, _writeContext.typeDesc())); in _reportCantWriteValueExpectName()