Home
last modified time | relevance | path

Searched refs:getOutputContext (Results 1 – 15 of 15) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/
DPointerFromContextTest.java104 assertSame(JsonPointer.EMPTY, g.getOutputContext().pathAsPointer()); in testViaGenerator()
108 assertSame(JsonPointer.EMPTY, g.getOutputContext().pathAsPointer()); in testViaGenerator()
110 assertEquals("/0", g.getOutputContext().pathAsPointer().toString()); in testViaGenerator()
113 assertEquals("/1", g.getOutputContext().pathAsPointer().toString()); in testViaGenerator()
115 assertEquals("/1/x", g.getOutputContext().pathAsPointer().toString()); in testViaGenerator()
117 assertEquals("/1/x", g.getOutputContext().pathAsPointer().toString()); in testViaGenerator()
119 assertEquals("/1/stats", g.getOutputContext().pathAsPointer().toString()); in testViaGenerator()
121 assertEquals("/1/stats", g.getOutputContext().pathAsPointer().toString()); in testViaGenerator()
123 assertEquals("/1/stats/rate", g.getOutputContext().pathAsPointer().toString()); in testViaGenerator()
125 assertEquals("/1/stats/rate", g.getOutputContext().pathAsPointer().toString()); in testViaGenerator()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DGeneratorBasicTest.java211 JsonStreamContext ctxt = gen.getOutputContext(); in testOutputContext()
215 assertTrue(gen.getOutputContext().inObject()); in testOutputContext()
218 assertEquals("a", gen.getOutputContext().getCurrentName()); in testOutputContext()
221 assertTrue(gen.getOutputContext().inArray()); in testOutputContext()
224 assertTrue(gen.getOutputContext().inObject()); in testOutputContext()
227 ctxt = gen.getOutputContext(); in testOutputContext()
233 assertEquals("c", gen.getOutputContext().getCurrentName()); in testOutputContext()
238 assertEquals("d", gen.getOutputContext().getCurrentName()); in testOutputContext()
241 ctxt = gen.getOutputContext(); in testOutputContext()
247 ctxt = gen.getOutputContext(); in testOutputContext()
[all …]
DArrayWriteTest.java20 JsonStreamContext ctxt = gen.getOutputContext(); in testEmptyArrayWrite()
29 ctxt = gen.getOutputContext(); in testEmptyArrayWrite()
38 ctxt = gen.getOutputContext(); in testEmptyArrayWrite()
DObjectWriteTest.java22 JsonStreamContext ctxt = gen.getOutputContext(); in testEmptyObjectWrite()
31 ctxt = gen.getOutputContext(); in testEmptyObjectWrite()
40 ctxt = gen.getOutputContext(); in testEmptyObjectWrite()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DTestTokenBuffer.java37 assertNotNull(buf.getOutputContext()); in testBasicConfig()
190 assertEquals("b", buf.getOutputContext().getParent().getCurrentName()); in testParentContext()
202 assertTrue(buf.getOutputContext().inRoot()); in testSimpleArray()
204 assertTrue(buf.getOutputContext().inArray()); in testSimpleArray()
206 assertTrue(buf.getOutputContext().inRoot()); in testSimpleArray()
263 assertTrue(buf.getOutputContext().inRoot()); in testSimpleObject()
265 assertTrue(buf.getOutputContext().inObject()); in testSimpleObject()
267 assertTrue(buf.getOutputContext().inRoot()); in testSimpleObject()
460 _verifyOutputContext(gen1.getOutputContext(), gen2.getOutputContext()); in _verifyOutputContext()
508 assertEquals("b", buf.getOutputContext().getParent().getCurrentName()); in testParentSiblingContext()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonGenerator.java648 JsonStreamContext ctxt = getOutputContext(); in getCurrentValue()
661 JsonStreamContext ctxt = getOutputContext(); in setCurrentValue()
2137 public abstract JsonStreamContext getOutputContext(); in getOutputContext() method in JsonGenerator
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DJsonGeneratorDelegate.java477 @Override public JsonStreamContext getOutputContext() { return delegate.getOutputContext(); } in getOutputContext() method in JsonGeneratorDelegate
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DTestJsonFilter.java45 JsonStreamContext sc = jgen.getOutputContext(); in serializeAsField()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/
DGeneratorBase.java278 @Override public JsonStreamContext getOutputContext() { return _writeContext; } in getOutputContext() method in GeneratorBase
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestCustomSerializers.java158 final JsonStreamContext ctx = jgen.getOutputContext(); in serializeAsField()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/
DFilteringGeneratorDelegate.java133 public JsonStreamContext getOutputContext() { in getOutputContext() method in FilteringGeneratorDelegate
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBeanPropertyWriter.java954 if (!gen.getOutputContext().inArray()) { in _handleSelfReference()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java628 public final JsonWriteContext getOutputContext() { return _writeContext; } in getOutputContext() method in TokenBuffer
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DWriterBasedJsonGenerator.java990 JsonStreamContext ctxt = getOutputContext(); in close()
DUTF8JsonGenerator.java1208 JsonStreamContext ctxt = getOutputContext(); in close()