Home
last modified time | relevance | path

Searched refs:getParsingContext (Results 1 – 19 of 19) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/misc/
DParsingContext2525Test.java116 assertSame(JsonPointer.empty(), p.getParsingContext().pathAsPointer()); in _testSimpleArrayUsingPathAsPointer()
117 assertTrue(p.getParsingContext().inRoot()); in _testSimpleArrayUsingPathAsPointer()
120 assertSame(JsonPointer.empty(), p.getParsingContext().pathAsPointer()); in _testSimpleArrayUsingPathAsPointer()
121 assertTrue(p.getParsingContext().inArray()); in _testSimpleArrayUsingPathAsPointer()
124 assertEquals("/0", p.getParsingContext().pathAsPointer().toString()); in _testSimpleArrayUsingPathAsPointer()
127 assertSame(JsonPointer.empty(), p.getParsingContext().pathAsPointer()); in _testSimpleArrayUsingPathAsPointer()
128 assertTrue(p.getParsingContext().inRoot()); in _testSimpleArrayUsingPathAsPointer()
135 assertSame(JsonPointer.empty(), p.getParsingContext().pathAsPointer()); in _testSimpleObjectUsingPathAsPointer()
136 assertTrue(p.getParsingContext().inRoot()); in _testSimpleObjectUsingPathAsPointer()
139 assertSame(JsonPointer.empty(), p.getParsingContext().pathAsPointer()); in _testSimpleObjectUsingPathAsPointer()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/
DPointerFromContextTest.java22 assertSame(JsonPointer.EMPTY, p.getParsingContext().pathAsPointer()); in testViaParser()
26 assertSame(JsonPointer.EMPTY, p.getParsingContext().pathAsPointer()); in testViaParser()
29 assertEquals("/a", p.getParsingContext().pathAsPointer().toString()); in testViaParser()
32 assertEquals("/a", p.getParsingContext().pathAsPointer().toString()); in testViaParser()
35 assertEquals("/array", p.getParsingContext().pathAsPointer().toString()); in testViaParser()
37 assertEquals("/array", p.getParsingContext().pathAsPointer().toString()); in testViaParser()
39 assertEquals("/array/0", p.getParsingContext().pathAsPointer().toString()); in testViaParser()
41 assertEquals("/array/1", p.getParsingContext().pathAsPointer().toString()); in testViaParser()
43 assertEquals("/array/2", p.getParsingContext().pathAsPointer().toString()); in testViaParser()
45 assertEquals("/array/2/0", p.getParsingContext().pathAsPointer().toString()); in testViaParser()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncPointerFromContext563Test.java33 assertSame(JsonPointer.empty(), p.getParsingContext().pathAsPointer()); in _testPointerWithAsyncParser()
37 assertSame(JsonPointer.empty(), p.getParsingContext().pathAsPointer()); in _testPointerWithAsyncParser()
39 assertEquals("", p.getParsingContext().pathAsPointer().toString()); in _testPointerWithAsyncParser()
42 assertEquals("/a", p.getParsingContext().pathAsPointer().toString()); in _testPointerWithAsyncParser()
45 assertEquals("/a", p.getParsingContext().pathAsPointer().toString()); in _testPointerWithAsyncParser()
48 assertEquals("/array", p.getParsingContext().pathAsPointer().toString()); in _testPointerWithAsyncParser()
50 assertEquals("/array", p.getParsingContext().pathAsPointer().toString()); in _testPointerWithAsyncParser()
52 assertEquals("/array/0", p.getParsingContext().pathAsPointer().toString()); in _testPointerWithAsyncParser()
54 assertEquals("/array/1", p.getParsingContext().pathAsPointer().toString()); in _testPointerWithAsyncParser()
56 assertEquals("/array/2", p.getParsingContext().pathAsPointer().toString()); in _testPointerWithAsyncParser()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DMappingIterator.java147 JsonStreamContext sctxt = p.getParsingContext(); in MappingIterator()
389 if (p.getParsingContext() == _seqContext) { in _resync()
396 if (p.getParsingContext() == _seqContext) { in _resync()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/testsupport/
DAsyncReaderWrapper.java57 public JsonStreamContext getParsingContext() { in getParsingContext() method in AsyncReaderWrapper
58 return _streamReader.getParsingContext(); in getParsingContext()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DSimpleParserTest.java132 JsonStreamContext ctxt = p.getParsingContext(); in _testKeywords()
159 ctxt = p.getParsingContext(); in _testKeywords()
171 ctxt = p.getParsingContext(); in _testKeywords()
182 ctxt = p.getParsingContext(); in _testKeywords()
188 ctxt = p.getParsingContext(); in _testKeywords()
204 ctxt = p.getParsingContext(); in _testKeywords()
216 ctxt = p.getParsingContext(); in _testKeywords()
220 ctxt = p.getParsingContext(); in _testKeywords()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DArrayNodeTest.java262 assertNotNull(p.getParsingContext()); in testParser()
263 assertTrue(p.getParsingContext().inRoot()); in testParser()
272 assertNotNull(p.getParsingContext()); in testParser()
273 assertTrue(p.getParsingContext().inArray()); in testParser()
DNodeContext2049Test.java74 JsonStreamContext parsingContext = jp.getParsingContext(); in deserialize()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DTestTokenBuffer.java210 assertTrue(p.getParsingContext().inRoot()); in testSimpleArray()
212 assertTrue(p.getParsingContext().inArray()); in testSimpleArray()
214 assertTrue(p.getParsingContext().inRoot()); in testSimpleArray()
271 assertTrue(p.getParsingContext().inRoot()); in testSimpleObject()
273 assertTrue(p.getParsingContext().inObject()); in testSimpleObject()
275 assertTrue(p.getParsingContext().inRoot()); in testSimpleObject()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonParser.java441 JsonStreamContext ctxt = getParsingContext(); in getCurrentValue()
454 JsonStreamContext ctxt = getParsingContext(); in setCurrentValue()
652 public abstract JsonStreamContext getParsingContext(); in getParsingContext() method in JsonParser
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DParsingContextExtTypeId2747Test.java48 return p.getParsingContext().pathAsPointer().toString(); in getCurrentLocationAsString()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DJsonParserDelegate.java127 @Override public JsonStreamContext getParsingContext() { return delegate.getParsingContext(); } in getParsingContext() method in JsonParserDelegate
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/util/
DTestDelegates.java236 assertNotNull(del.getParsingContext()); in testParserDelegate()
237 assertSame(parser.getParsingContext(), del.getParsingContext()); in testParserDelegate()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/filter/
DProblemHandlerLocation1440Test.java47 final JsonStreamContext parsingContext = p.getParsingContext(); in handleUnknownProperty()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DTreeTraversingParser.java174 public JsonStreamContext getParsingContext() { in getParsingContext() method in TreeTraversingParser
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/
DParserBase.java384 @Override public JsonReadContext getParsingContext() { return _parsingContext; } in getParsingContext() method in ParserBase
1063 JsonReadContext ctxt = getParsingContext(); in _reportMismatchedEndMarker()
DParserMinimalBase.java277 @Override public abstract JsonStreamContext getParsingContext(); in getParsingContext() method in ParserMinimalBase
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/
DFilteringParserDelegate.java179 public JsonStreamContext getParsingContext() { in getParsingContext() method in FilteringParserDelegate
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java177 _parentContext = p.getParsingContext(); in TokenBuffer()
1633 public JsonStreamContext getParsingContext() { return _parsingContext; } in getParsingContext() method in TokenBuffer.Parser