Home
last modified time | relevance | path

Searched refs:writeFieldName (Results 1 – 25 of 59) sorted by relevance

123

/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonGenerator.java901 public abstract void writeFieldName(String name) throws IOException; in writeFieldName() method in JsonGenerator
914 public abstract void writeFieldName(SerializableString name) throws IOException; in writeFieldName() method in JsonGenerator
927 writeFieldName(Long.toString(id)); in writeFieldId()
1587 writeFieldName(idStr); in writeTypePrefix()
1693 writeFieldName(fieldName); in writeBinaryField()
1706 writeFieldName(fieldName); in writeBooleanField()
1719 writeFieldName(fieldName); in writeNullField()
1734 writeFieldName(fieldName); in writeStringField()
1749 writeFieldName(fieldName); in writeNumberField()
1762 writeFieldName(fieldName); in writeNumberField()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DSerializedStringWriteTest.java71 gen.writeFieldName(quotedName); in _writeSimple()
73 gen.writeFieldName(latin1Name); in _writeSimple()
78 gen.writeFieldName(latin1Name); in _writeSimple()
80 gen.writeFieldName(quotedName); in _writeSimple()
92 gen.writeFieldName(NAME_WITH_QUOTES); in _writeSimpleValues()
94 gen.writeFieldName(NAME_WITH_LATIN1); in _writeSimpleValues()
99 gen.writeFieldName(NAME_WITH_LATIN1); in _writeSimpleValues()
101 gen.writeFieldName(NAME_WITH_QUOTES); in _writeSimpleValues()
DUTF8GeneratorTest.java85 gen.writeFieldName("a"); in testFilteringWithEscapedChars()
88 gen.writeFieldName("array"); in testFilteringWithEscapedChars()
94 gen.writeFieldName("escapes"); in testFilteringWithEscapedChars()
DPrettyPrinterTest.java57 gen.writeFieldName("x"); in testObjectCount()
274 gen.writeFieldName("f"); in _writeTestDocument()
277 gen.writeFieldName(new SerializedString("f2")); in _writeTestDocument()
DGeneratorBasicTest.java217 gen.writeFieldName("a"); in testOutputContext()
226 gen.writeFieldName("b"); in testOutputContext()
232 gen.writeFieldName("c"); in testOutputContext()
237 gen.writeFieldName("d"); in testOutputContext()
DObjectWriteTest.java80 gen.writeFieldName("first"); in testSimpleObjectWrite()
82 gen.writeFieldName("sec"); in testSimpleObjectWrite()
84 gen.writeFieldName("3rd!"); // JSON field names are just strings, not ids with restrictions in testSimpleObjectWrite()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdKeySerializers.java161 g.writeFieldName(((Class<?>)value).getName()); in serialize()
178 g.writeFieldName(key); in serialize()
188 g.writeFieldName(encoded); in serialize()
193 g.writeFieldName(value.toString()); in serialize()
266 g.writeFieldName((String) value); in serialize()
295 g.writeFieldName(value.toString()); in serialize()
301 g.writeFieldName(String.valueOf(en.ordinal())); in serialize()
304 g.writeFieldName(_values.serializedValueFor(en)); in serialize()
DStdKeySerializer.java23 g.writeFieldName(value.toString()); in serialize()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/filter/
DGeneratorFiltering609Test.java50 public void writeFieldName(String name) throws IOException { in writeFieldName() method in GeneratorFiltering609Test.StringTruncatingGeneratorDelegate
52 super.writeFieldName(name); in writeFieldName()
55 super.writeFieldName(truncatedName); in writeFieldName()
73 g.writeFieldName("message"); in testIssue609()
DBasicGeneratorFilteringTest.java201 gen.writeFieldName(new SerializedString("a")); in _testSingleMatchFilteringWithPathAlternate1()
204 gen.writeFieldName("array"); in _testSingleMatchFilteringWithPathAlternate1()
210 gen.writeFieldName(new SerializedString("ob")); in _testSingleMatchFilteringWithPathAlternate1()
213 gen.writeFieldName(new SerializedString("value")); in _testSingleMatchFilteringWithPathAlternate1()
249 gen.writeFieldName("header"); in testSingleMatchFilteringWithPathRawBinary()
256 gen.writeFieldName("array"); in testSingleMatchFilteringWithPathRawBinary()
423 gen.writeFieldName("field1"); in testWriteStartObjectWithObject()
429 gen.writeFieldName("field2"); in testWriteStartObjectWithObject()
466 gen.writeFieldName("f2"); in testRawValueDelegationWithObject()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DTestTokenBuffer.java186 buf.writeFieldName("b"); in testParentContext()
188 buf.writeFieldName("c"); in testParentContext()
339 buf1.writeFieldName("a"); in testAppend()
343 buf2.writeFieldName("b"); in testAppend()
418 buf.writeFieldName("a"); in testOutputContext()
419 gen.writeFieldName("a"); in testOutputContext()
426 buf.writeFieldName("b"); in testOutputContext()
427 gen.writeFieldName("b"); in testOutputContext()
434 buf.writeFieldName("c"); in testOutputContext()
435 gen.writeFieldName("c"); in testOutputContext()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/
DTokenFilterContext.java165 gen.writeFieldName(_currentName); in writePath()
171 gen.writeFieldName(_currentName); // we know name must be written in writePath()
192 gen.writeFieldName(_currentName); in writeImmediatePath()
199 gen.writeFieldName(_currentName); in writeImmediatePath()
219 gen.writeFieldName(_currentName); in _writePath()
227 gen.writeFieldName(_currentName); in _writePath()
DFilteringGeneratorDelegate.java376 public void writeFieldName(String name) throws IOException in writeFieldName() method in FilteringGeneratorDelegate
385 delegate.writeFieldName(name); in writeFieldName()
396 public void writeFieldName(SerializableString name) throws IOException in writeFieldName() method in FilteringGeneratorDelegate
405 delegate.writeFieldName(name); in writeFieldName()
418 writeFieldName(Long.toString(id)); in writeFieldId()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DGeneratorFailTest.java57 gen.writeFieldName("a"); in _testDupFieldNameWrites()
60 gen.writeFieldName("b"); in _testDupFieldNameWrites()
103 gen.writeFieldName("a"); in _testFailOnWritingFieldNameInRoot()
DGeneratorFeaturesTest.java278 gen.writeFieldName("foo"); in _testFieldNameQuotingEnabled()
320 g.writeFieldName("foo"); in _testFieldNameQuoting()
338 g.writeFieldName("double"); in _testNonNumericQuoting()
342 g.writeFieldName("float"); in _testNonNumericQuoting()
DGeneratorFailFromReaderTest.java82 gen.writeFieldName("a"); in _testFailOnWritingStringFromReaderWithTooFewCharacters()
104 gen.writeFieldName("a"); in _testFailOnWritingStringFromNullReader()
DTestCustomEscaping.java199 g.writeFieldName(KEY+"\\"); in _testEscapeAboveAscii()
224 g.writeFieldName(STR_IN); in _testEscapeCustom()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/util/
DTestDefaultPrettyPrinter.java125 gen.writeFieldName("a"); in testRootSeparator()
150 gen.writeFieldName("name"); in _printTestData()
152 gen.writeFieldName("age"); in _printTestData()
/external/jackson-core/src/test/java/perf/
DMediaItem.java51 gen.writeFieldName("content"); in write()
57 gen.writeFieldName("photos"); in write()
160 gen.writeFieldName("photos"); in write()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
DMapKeySerializationTest.java30 gen.writeFieldName("Karl"); in serialize()
137 gen.writeFieldName("xxx"+value); in serialize()
147 gen.writeFieldName(_null); in serialize()
166 g.writeFieldName("DEFAULT:"+value); in serialize()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/
DPointerFromContextTest.java114 g.writeFieldName("x"); in testViaGenerator()
118 g.writeFieldName("stats"); in testViaGenerator()
122 g.writeFieldName("rate"); in testViaGenerator()
220 g.writeFieldName("x"); in testGeneratorWithRoot()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DJsonGeneratorDelegate.java224 public void writeFieldName(String name) throws IOException { in writeFieldName() method in JsonGeneratorDelegate
225 delegate.writeFieldName(name); in writeFieldName()
229 public void writeFieldName(SerializableString name) throws IOException { in writeFieldName() method in JsonGeneratorDelegate
230 delegate.writeFieldName(name); in writeFieldName()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java392 gen.writeFieldName((SerializableString) ob); in serialize()
394 gen.writeFieldName((String) ob); in serialize()
747 public final void writeFieldName(String name) throws IOException in writeFieldName() method in TokenBuffer
749 _writeContext.writeFieldName(name); in writeFieldName()
754 public void writeFieldName(SerializableString name) throws IOException in writeFieldName() method in TokenBuffer
756 _writeContext.writeFieldName(name.getValue()); in writeFieldName()
1048 writeFieldName(p.currentName()); in copyCurrentEvent()
1116 writeFieldName(p.currentName()); in copyCurrentStructure()
1163 writeFieldName(p.currentName()); in _copyBufferContents()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DAsPropertyTypeDeserializer.java104 tb.writeFieldName(name); in deserializeTypedFromObject()
120 tb.writeFieldName(p.currentName()); in _deserializeTypedForId()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializer.java514 unknown.writeFieldName(propName); in _deserializeUsingPropertyBased()
737 tokens.writeFieldName(propName); in deserializeWithUnwrapped()
743 tokens.writeFieldName(propName); in deserializeWithUnwrapped()
794 tokens.writeFieldName(propName); in deserializeWithUnwrapped()
799 tokens.writeFieldName(propName); in deserializeWithUnwrapped()
893 tokens.writeFieldName(propName); in deserializeUsingPropertyBasedWithUnwrapped()
898 tokens.writeFieldName(propName); in deserializeUsingPropertyBasedWithUnwrapped()

123