Home
last modified time | relevance | path

Searched refs:asParser (Results 1 – 18 of 18) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DTestTokenBuffer.java61 JsonParser p = buf.asParser(); in testSimpleWrites()
69 p = buf.asParser(); in testSimpleWrites()
78 p = buf.asParser(); in testSimpleWrites()
109 JsonParser p = buf.asParser(); in testSimpleNumberWrites()
136 try (JsonParser p = buf.asParser()) { in testNumberOverflowInt()
151 try (JsonParser p = buf.asParser()) { in testNumberOverflowInt()
169 try (JsonParser p = buf.asParser()) { in testNumberOverflowLong()
208 JsonParser p = buf.asParser(); in testSimpleArray()
225 p = buf.asParser(); in testSimpleArray()
242 p = buf.asParser(); in testSimpleArray()
[all …]
DJsonParserSequenceTest.java24 JsonParser parser1 = buf1.asParser(); in testJsonParserSequenceOverridesSkipChildren()
30 JsonParser parser2 = buf2.asParser(); in testJsonParserSequenceOverridesSkipChildren()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestJacksonTypes.java66 verifyJsonSpecSampleDoc(result.asParser(), true); in testTokenBufferWithSample()
81 JsonParser bufParser = buf.asParser(); in testTokenBufferWithSequence()
88 bufParser = buf.asParser(); in testTokenBufferWithSequence()
97 String str = MAPPER.readValue(buf.asParser(), String.class); in testTokenBufferWithSequence()
102 Map<?,?> map = MAPPER.readValue(buf.asParser(), Map.class); in testTokenBufferWithSequence()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DJDKStringLikeTypesTest.java277 assertNull(MAPPER.readValue(buf.asParser(), URL.class)); in testURL()
283 assertSame(exp, MAPPER.readValue(buf.asParser(), URL.class)); in testURL()
356 assertNull(MAPPER.readValue(buf.asParser(), UUID.class)); in testUUIDAux()
362 assertSame(value, MAPPER.readValue(buf.asParser(), UUID.class)); in testUUIDAux()
376 UUID value2 = MAPPER.readValue(buf.asParser(), UUID.class); in testUUIDAux()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DExternalTypeHandler.java218 JsonParser buffered = tokens.asParser(p); in complete()
331 JsonParser p2 = _tokens[index].asParser(p); in _deserialize()
344 JsonParser mp = merged.asParser(p); in _deserialize()
355 JsonParser p2 = _tokens[index].asParser(p); in _deserializeAndSet()
369 JsonParser mp = merged.asParser(p); in _deserializeAndSet()
DUnwrappedPropertyHandler.java60 JsonParser p = buffered.asParser(); in processUnwrapped()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/misc/
DParsingContext2525Test.java51 _testSimpleArrayUsingPathAsPointer(buf.asParser()); in testSimpleArrayWithBuffer()
58 _testSimpleObjectUsingPathAsPointer(buf.asParser()); in testSimpleObjectWithBuffer()
65 _testFullDocUsingPathAsPointer(buf.asParser()); in testFullDocWithBuffer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DAsPropertyTypeDeserializer.java127 p = JsonParserSequence.createFlattened(false, tb.asParser(p), p); in _deserializeTypedForId()
176 p = tb.asParser(p); in _deserializeTypedUsingDefaultImpl()
DAsWrapperTypeDeserializer.java117 p = JsonParserSequence.createFlattened(false, tb.asParser(p), p); in _deserialize()
DAsArrayTypeDeserializer.java113 p = JsonParserSequence.createFlattened(false, tb.asParser(p), p); in _deserialize()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/deftyping/
DTestDefaultForObject.java297 JsonParser jp = ((TokenBuffer) holder.value).asParser(); in testTokenBuffer()
315 jp = ((TokenBuffer) holder.value).asParser(); in testTokenBuffer()
330 jp = ((TokenBuffer) holder.value).asParser(); in testTokenBuffer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java242 public JsonParser asParser() { in asParser() method in TokenBuffer
243 return asParser(_objectCodec); in asParser()
257 JsonParser p = asParser(_objectCodec); in asParserOnFirstToken()
275 public JsonParser asParser(ObjectCodec codec) in asParser() method in TokenBuffer
284 public JsonParser asParser(JsonParser src) in asParser() method in TokenBuffer
327 JsonParser p = other.asParser(); in append()
518 JsonParser jp = asParser(); in toString()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DTestCreatorsDelegating.java214 JsonParser jp = ((TokenBuffer) ob).asParser(); in testDelegateWithTokenBuffer()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestConversions.java248 JsonNode node = MAPPER.readTree(buf.asParser()); in testEmbeddedByteArray()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializerBase.java1341 JsonParser bufParser = buf.asParser(); in _convertObjectId()
1631 JsonParser bufferParser = unknownTokens.asParser(); in handleUnknownProperties()
1728 JsonParser p2 = unknownTokens.asParser(); in handlePolymorphic()
DBeanDeserializer.java592 JsonParser p2 = tb.asParser(p); in deserializeFromNull()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DStdKeyDeserializer.java341 JsonParser p = tb.asParser(); in deserializeKey()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectMapper.java3255 JsonParser p = buf.asParser();
4244 final JsonParser p = buf.asParser();
4316 JsonParser p = buf.asParser();