Home
last modified time | relevance | path

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

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DNextXxxAccessTest.java131 assertFalse(p.nextFieldName(NAME)); in _testIsNextTokenName1()
134 assertTrue(p.nextFieldName(NAME)); in _testIsNextTokenName1()
138 assertFalse(p.nextFieldName(NAME)); in _testIsNextTokenName1()
142 assertFalse(p.nextFieldName(NAME)); in _testIsNextTokenName1()
148 assertFalse(p.nextFieldName(NAME)); in _testIsNextTokenName1()
152 assertFalse(p.nextFieldName(NAME)); in _testIsNextTokenName1()
155 assertFalse(p.nextFieldName(NAME)); in _testIsNextTokenName1()
159 assertFalse(p.nextFieldName(NAME)); in _testIsNextTokenName1()
167 assertFalse(p.nextFieldName(new SerializedString("Nam"))); in _testIsNextTokenName1()
171 assertFalse(p.nextFieldName(NAME)); in _testIsNextTokenName1()
[all …]
DNextNameParserTest.java40 assertEquals("primary", p.nextFieldName()); in _testBasicNextName()
44 assertEquals("vector", p.nextFieldName()); in _testBasicNextName()
51 assertEquals("misc", p.nextFieldName()); in _testBasicNextName()
54 assertEquals("name", p.nextFieldName()); in _testBasicNextName()
58 assertNull(p.nextFieldName()); in _testBasicNextName()
61 assertEquals("array", p.nextFieldName()); in _testBasicNextName()
66 assertEquals("message", p.nextFieldName()); in _testBasicNextName()
69 assertEquals("value", p.nextFieldName()); in _testBasicNextName()
72 assertEquals("misc", p.nextFieldName()); in _testBasicNextName()
80 assertNull(p.nextFieldName()); in _testBasicNextName()
DLocationInObjectTest.java22 assertEquals("f2", p.nextFieldName()); in testOffsetWithObjectFieldsUsingUTF8()
27 assertEquals("f3", p.nextFieldName()); in testOffsetWithObjectFieldsUsingUTF8()
33 assertEquals("f4", p.nextFieldName()); in testOffsetWithObjectFieldsUsingUTF8()
45 assertEquals("f5", p.nextFieldName()); in testOffsetWithObjectFieldsUsingUTF8()
68 assertEquals("f2", p.nextFieldName()); in testOffsetWithObjectFieldsUsingReader()
73 assertEquals("f3", p.nextFieldName()); in testOffsetWithObjectFieldsUsingReader()
79 assertEquals("f4", p.nextFieldName()); in testOffsetWithObjectFieldsUsingReader()
91 assertEquals("f5", p.nextFieldName()); in testOffsetWithObjectFieldsUsingReader()
DTrailingCommasTest.java290 assertEquals("a", p.nextFieldName()); in testObjectTrailingCommaWithNextFieldName()
293 assertEquals("b", p.nextFieldName()); in testObjectTrailingCommaWithNextFieldName()
297 assertEquals(null, p.nextFieldName()); in testObjectTrailingCommaWithNextFieldName()
302 p.nextFieldName(); in testObjectTrailingCommaWithNextFieldName()
319 assertTrue(p.nextFieldName(new SerializedString("a"))); in testObjectTrailingCommaWithNextFieldNameStr()
322 assertTrue(p.nextFieldName(new SerializedString("b"))); in testObjectTrailingCommaWithNextFieldNameStr()
326 assertFalse(p.nextFieldName(new SerializedString("c"))); in testObjectTrailingCommaWithNextFieldNameStr()
331 p.nextFieldName(new SerializedString("c")); in testObjectTrailingCommaWithNextFieldNameStr()
DUTF8NamesParseTest.java260 assertTrue(parser.nextFieldName(id)); in _testNextFieldName()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DUntypedObjectDeserializer.java501 key1 = p.nextFieldName(); in mapObject()
519 String key2 = p.nextFieldName(); in mapObject()
529 String key = p.nextFieldName(); in mapObject()
553 p.nextFieldName()); in mapObject()
555 } while ((key = p.nextFieldName()) != null); in mapObject()
577 nextKey = p.nextFieldName(); in _mapObjectWithDups()
647 } while ((key = p.nextFieldName()) != null); in mapObject()
840 } while ((key = p.nextFieldName()) != null); in deserialize()
932 String key2 = p.nextFieldName(); in mapObject()
941 String key = p.nextFieldName(); in mapObject()
[all …]
DMapDeserializer.java518 keyStr = p.nextFieldName(); in _readAndBind()
530 for (; keyStr != null; keyStr = p.nextFieldName()) { in _readAndBind()
582 key = p.nextFieldName(); in _readAndBindStringKeyMap()
594 for (; key != null; key = p.nextFieldName()) { in _readAndBindStringKeyMap()
639 key = p.nextFieldName(); in _deserializeUsingCreator()
646 for (; key != null; key = p.nextFieldName()) { in _deserializeUsingCreator()
721 keyStr = p.nextFieldName(); in _readAndUpdate()
733 for (; keyStr != null; keyStr = p.nextFieldName()) { in _readAndUpdate()
790 key = p.nextFieldName(); in _readAndUpdateStringKeyMap()
802 for (; key != null; key = p.nextFieldName()) { in _readAndUpdateStringKeyMap()
DEnumMapDeserializer.java277 keyStr = p.nextFieldName(); in deserialize()
289 for (; keyStr != null; keyStr = p.nextFieldName()) { in deserialize()
361 keyName = p.nextFieldName(); in _deserializeUsingProperties()
368 for (; keyName != null; keyName = p.nextFieldName()) { in _deserializeUsingProperties()
DJsonNodeDeserializer.java268 String key = p.nextFieldName(); in deserializeObject()
269 for (; key != null; key = p.nextFieldName()) { in deserializeObject()
323 for (; key != null; key = p.nextFieldName()) { in deserializeObjectAtName()
377 key = p.nextFieldName(); in updateObject()
384 for (; key != null; key = p.nextFieldName()) { in updateObject()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DJsonParserClosedCaseTest.java52 Assert.assertNull(parser.nextFieldName()); in testNullReturnedOnClosedParserOnNextFieldName()
57 Assert.assertFalse(parser.nextFieldName(new SerializedString(""))); in testFalseReturnedOnClosedParserOnNextFieldNameSerializedString()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializer.java265 propName = p.nextFieldName(); in deserialize()
295 } while ((propName = p.nextFieldName()) != null); in deserialize()
331 } while ((propName = p.nextFieldName()) != null); in vanillaDeserialize()
409 } while ((propName = p.nextFieldName()) != null); in deserializeFromObject()
673 } while ((propName = p.nextFieldName()) != null); in deserializeWithView()
711 for (; propName != null; propName = p.nextFieldName()) { in deserializeWithUnwrapped()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonParser.java879 public boolean nextFieldName(SerializableString str) throws IOException { in nextFieldName() method in JsonParser
890 public String nextFieldName() throws IOException { in nextFieldName() method in JsonParser
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestBeanDeserializer.java172 p.nextFieldName(); // read subBean in deserialize()
185 p.nextFieldName(); // read "a" in deserialize()
/external/jackson-core/release-notes/
DVERSION-2.x364 - Implemented `ReaderBasedJsonParser.nextFieldName(SerializableString)`
379 #220: Problem with `JsonParser.nextFieldName(SerializableString)` for byte-backed parser
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DReaderBasedJsonParser.java826 public boolean nextFieldName(SerializableString sstr) throws IOException in nextFieldName() method in ReaderBasedJsonParser
902 public String nextFieldName() throws IOException in nextFieldName() method in ReaderBasedJsonParser
DUTF8StreamJsonParser.java905 public boolean nextFieldName(SerializableString str) throws IOException in nextFieldName() method in UTF8StreamJsonParser
991 public String nextFieldName() throws IOException in nextFieldName() method in UTF8StreamJsonParser
DUTF8DataInputJsonParser.java785 public String nextFieldName() throws IOException in nextFieldName() method in UTF8DataInputJsonParser
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java1604 public String nextFieldName() throws IOException in nextFieldName() method in TokenBuffer.Parser
/external/jackson-databind/release-notes/
DVERSION-2.x1247 #649: Make `BeanDeserializer` use new `parser.nextFieldName()` and `.hasTokenId()` methods