/external/jackson-core/src/test/java/com/fasterxml/jackson/core/ |
D | PointerFromContextTest.java | 104 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/ |
D | GeneratorBasicTest.java | 211 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 …]
|
D | ArrayWriteTest.java | 20 JsonStreamContext ctxt = gen.getOutputContext(); in testEmptyArrayWrite() 29 ctxt = gen.getOutputContext(); in testEmptyArrayWrite() 38 ctxt = gen.getOutputContext(); in testEmptyArrayWrite()
|
D | ObjectWriteTest.java | 22 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/ |
D | TestTokenBuffer.java | 37 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/ |
D | JsonGenerator.java | 648 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/ |
D | JsonGeneratorDelegate.java | 477 @Override public JsonStreamContext getOutputContext() { return delegate.getOutputContext(); } in getOutputContext() method in JsonGeneratorDelegate
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/ |
D | TestJsonFilter.java | 45 JsonStreamContext sc = jgen.getOutputContext(); in serializeAsField()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/ |
D | GeneratorBase.java | 278 @Override public JsonStreamContext getOutputContext() { return _writeContext; } in getOutputContext() method in GeneratorBase
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/ |
D | TestCustomSerializers.java | 158 final JsonStreamContext ctx = jgen.getOutputContext(); in serializeAsField()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/ |
D | FilteringGeneratorDelegate.java | 133 public JsonStreamContext getOutputContext() { in getOutputContext() method in FilteringGeneratorDelegate
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/ |
D | BeanPropertyWriter.java | 954 if (!gen.getOutputContext().inArray()) { in _handleSelfReference()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/ |
D | TokenBuffer.java | 628 public final JsonWriteContext getOutputContext() { return _writeContext; } in getOutputContext() method in TokenBuffer
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/ |
D | WriterBasedJsonGenerator.java | 990 JsonStreamContext ctxt = getOutputContext(); in close()
|
D | UTF8JsonGenerator.java | 1208 JsonStreamContext ctxt = getOutputContext(); in close()
|