Home
last modified time | relevance | path

Searched refs:JsonTokenId (Results 1 – 23 of 23) sorted by relevance

/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonToken.java31 NOT_AVAILABLE(null, JsonTokenId.ID_NOT_AVAILABLE),
37 START_OBJECT("{", JsonTokenId.ID_START_OBJECT),
43 END_OBJECT("}", JsonTokenId.ID_END_OBJECT),
49 START_ARRAY("[", JsonTokenId.ID_START_ARRAY),
55 END_ARRAY("]", JsonTokenId.ID_END_ARRAY),
61 FIELD_NAME(null, JsonTokenId.ID_FIELD_NAME),
73 VALUE_EMBEDDED_OBJECT(null, JsonTokenId.ID_EMBEDDED_OBJECT),
80 VALUE_STRING(null, JsonTokenId.ID_STRING),
90 VALUE_NUMBER_INT(null, JsonTokenId.ID_NUMBER_INT),
99 VALUE_NUMBER_FLOAT(null, JsonTokenId.ID_NUMBER_FLOAT),
[all …]
DJsonTokenId.java11 public interface JsonTokenId interface
DJsonGenerator.java21 import static com.fasterxml.jackson.core.JsonTokenId.*;
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DJsonNodeDeserializer.java68 case JsonTokenId.ID_START_OBJECT: in deserialize()
70 case JsonTokenId.ID_START_ARRAY: in deserialize()
276 case JsonTokenId.ID_START_OBJECT: in deserializeObject()
279 case JsonTokenId.ID_START_ARRAY: in deserializeObject()
282 case JsonTokenId.ID_EMBEDDED_OBJECT: in deserializeObject()
285 case JsonTokenId.ID_STRING: in deserializeObject()
288 case JsonTokenId.ID_NUMBER_INT: in deserializeObject()
291 case JsonTokenId.ID_TRUE: in deserializeObject()
294 case JsonTokenId.ID_FALSE: in deserializeObject()
297 case JsonTokenId.ID_NULL: in deserializeObject()
[all …]
DUntypedObjectDeserializer.java243 case JsonTokenId.ID_START_OBJECT: in deserialize()
244 case JsonTokenId.ID_FIELD_NAME: in deserialize()
247 case JsonTokenId.ID_END_OBJECT: in deserialize()
252 case JsonTokenId.ID_START_ARRAY: in deserialize()
260 case JsonTokenId.ID_EMBEDDED_OBJECT: in deserialize()
262 case JsonTokenId.ID_STRING: in deserialize()
268 case JsonTokenId.ID_NUMBER_INT: in deserialize()
280 case JsonTokenId.ID_NUMBER_FLOAT: in deserialize()
291 case JsonTokenId.ID_TRUE: in deserialize()
293 case JsonTokenId.ID_FALSE: in deserialize()
[all …]
DNumberDeserializers.java282 case JsonTokenId.ID_STRING: // let's do implicit re-parse in _parseByte()
285 case JsonTokenId.ID_NUMBER_FLOAT: in _parseByte()
294 case JsonTokenId.ID_NULL: // null fine for non-primitive in _parseByte()
296 case JsonTokenId.ID_NUMBER_INT: in _parseByte()
298 case JsonTokenId.ID_START_ARRAY: in _parseByte()
301 case JsonTokenId.ID_START_OBJECT: in _parseByte()
370 case JsonTokenId.ID_STRING: // let's do implicit re-parse in _parseShort()
373 case JsonTokenId.ID_NUMBER_FLOAT: in _parseShort()
382 case JsonTokenId.ID_NULL: // null fine for non-primitive in _parseShort()
384 case JsonTokenId.ID_NUMBER_INT: in _parseShort()
[all …]
DStdDeserializer.java390 case JsonTokenId.ID_STRING: in _parseBooleanPrimitive()
393 case JsonTokenId.ID_NUMBER_INT: in _parseBooleanPrimitive()
398 case JsonTokenId.ID_TRUE: // usually caller should have handled but: in _parseBooleanPrimitive()
400 case JsonTokenId.ID_FALSE: in _parseBooleanPrimitive()
402 case JsonTokenId.ID_NULL: // null fine for non-primitive in _parseBooleanPrimitive()
406 case JsonTokenId.ID_START_OBJECT: in _parseBooleanPrimitive()
409 case JsonTokenId.ID_START_ARRAY: in _parseBooleanPrimitive()
501 case JsonTokenId.ID_STRING: in _parseBoolean()
504 case JsonTokenId.ID_NUMBER_INT: in _parseBoolean()
507 case JsonTokenId.ID_TRUE: in _parseBoolean()
[all …]
DNullifyingDeserializer.java61 case JsonTokenId.ID_START_ARRAY: in deserializeWithType()
62 case JsonTokenId.ID_START_OBJECT: in deserializeWithType()
63 case JsonTokenId.ID_FIELD_NAME: in deserializeWithType()
DEnumMapDeserializer.java249 case JsonTokenId.ID_START_OBJECT: in deserialize()
250 case JsonTokenId.ID_END_OBJECT: in deserialize()
251 case JsonTokenId.ID_FIELD_NAME: in deserialize()
253 case JsonTokenId.ID_STRING: in deserialize()
256 case JsonTokenId.ID_START_ARRAY: in deserialize()
DMapDeserializer.java432 case JsonTokenId.ID_START_OBJECT: in deserialize()
433 case JsonTokenId.ID_END_OBJECT: in deserialize()
434 case JsonTokenId.ID_FIELD_NAME: in deserialize()
442 case JsonTokenId.ID_STRING: in deserialize()
445 case JsonTokenId.ID_START_ARRAY: in deserialize()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DAbstractDeserializer.java292 case JsonTokenId.ID_STRING: in _deserializeIfNatural()
297 case JsonTokenId.ID_NUMBER_INT: in _deserializeIfNatural()
302 case JsonTokenId.ID_NUMBER_FLOAT: in _deserializeIfNatural()
307 case JsonTokenId.ID_TRUE: in _deserializeIfNatural()
312 case JsonTokenId.ID_FALSE: in _deserializeIfNatural()
DBuilderBasedDeserializer.java223 case JsonTokenId.ID_STRING: in deserialize()
225 case JsonTokenId.ID_NUMBER_INT: in deserialize()
227 case JsonTokenId.ID_NUMBER_FLOAT: in deserialize()
229 case JsonTokenId.ID_EMBEDDED_OBJECT: in deserialize()
231 case JsonTokenId.ID_TRUE: in deserialize()
232 case JsonTokenId.ID_FALSE: in deserialize()
234 case JsonTokenId.ID_START_ARRAY: in deserialize()
238 case JsonTokenId.ID_FIELD_NAME: in deserialize()
239 case JsonTokenId.ID_END_OBJECT: in deserialize()
DBeanDeserializer.java270 if (p.hasTokenId(JsonTokenId.ID_FIELD_NAME)) { in deserialize()
316 if (p.hasTokenId(JsonTokenId.ID_FIELD_NAME)) { in vanillaDeserialize()
350 if (p.hasTokenId(JsonTokenId.ID_FIELD_NAME) in deserializeFromObject()
395 if (p.hasTokenId(JsonTokenId.ID_FIELD_NAME)) { in deserializeFromObject()
654 if (p.hasTokenId(JsonTokenId.ID_FIELD_NAME)) { in deserializeWithView()
709 String propName = p.hasTokenId(JsonTokenId.ID_FIELD_NAME) ? p.currentName() : null; in deserializeWithUnwrapped()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/filter/
DBasicParserFilteringTest.java355 assertEquals(JsonTokenId.ID_NO_TOKEN, p.currentTokenId()); in testTokensSingleMatchWithPath()
366 assertEquals(JsonTokenId.ID_START_OBJECT, p.currentTokenId()); in testTokensSingleMatchWithPath()
367 assertEquals(JsonTokenId.ID_START_OBJECT, p.currentTokenId()); in testTokensSingleMatchWithPath()
374 assertTrue(p.hasTokenId(JsonTokenId.ID_FIELD_NAME)); in testTokensSingleMatchWithPath()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/
DParserMinimalBase.java14 import static com.fasterxml.jackson.core.JsonTokenId.*;
189 return (t == null) ? JsonTokenId.ID_NO_TOKEN : t.id(); in currentTokenId()
197 return (t == null) ? JsonTokenId.ID_NO_TOKEN : t.id(); in getCurrentTokenId()
204 return (JsonTokenId.ID_NO_TOKEN == id); in hasTokenId()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/util/
DTestDelegates.java227 assertEquals(JsonTokenId.ID_START_ARRAY, del.currentTokenId()); in testParserDelegate()
230 assertTrue(del.hasTokenId(JsonTokenId.ID_START_ARRAY)); in testParserDelegate()
231 assertFalse(del.hasTokenId(JsonTokenId.ID_START_OBJECT)); in testParserDelegate()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DUTF8NamesParseTest.java80 assertTrue(p.hasTokenId(JsonTokenId.ID_FIELD_NAME)); in _testUtf8Name2Bytes()
85 assertTrue(p.hasTokenId(JsonTokenId.ID_NUMBER_INT)); in _testUtf8Name2Bytes()
DNextXxxAccessTest.java133 assertEquals(JsonTokenId.ID_START_OBJECT, p.currentTokenId()); in _testIsNextTokenName1()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/
DFilteringParserDelegate.java11 import static com.fasterxml.jackson.core.JsonTokenId.*;
157 return (t == null) ? JsonTokenId.ID_NO_TOKEN : t.id(); in currentTokenId()
164 return (JsonTokenId.ID_NO_TOKEN == id); in hasTokenId()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/async/
DNonBlockingJsonParserBase.java13 import static com.fasterxml.jackson.core.JsonTokenId.*;
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DUTF8DataInputJsonParser.java13 import static com.fasterxml.jackson.core.JsonTokenId.*;
DReaderBasedJsonParser.java12 import static com.fasterxml.jackson.core.JsonTokenId.*;
DUTF8StreamJsonParser.java12 import static com.fasterxml.jackson.core.JsonTokenId.*;