/external/jackson-core/src/main/java/com/fasterxml/jackson/core/ |
D | PrettyPrinter.java | 60 void writeRootValueSeparator(JsonGenerator gen) throws IOException; in writeRootValueSeparator() 74 void writeStartObject(JsonGenerator gen) throws IOException; in writeStartObject() 89 void writeEndObject(JsonGenerator gen, int nrOfEntries) throws IOException; in writeEndObject() 100 void writeObjectEntrySeparator(JsonGenerator gen) throws IOException; in writeObjectEntrySeparator() 111 void writeObjectFieldValueSeparator(JsonGenerator gen) throws IOException; in writeObjectFieldValueSeparator() 125 void writeStartArray(JsonGenerator gen) throws IOException; in writeStartArray() 140 void writeEndArray(JsonGenerator gen, int nrOfValues) throws IOException; in writeEndArray() 151 void writeArrayValueSeparator(JsonGenerator gen) throws IOException; in writeArrayValueSeparator() 169 void beforeArrayValues(JsonGenerator gen) throws IOException; in beforeArrayValues() 180 void beforeObjectEntries(JsonGenerator gen) throws IOException; in beforeObjectEntries()
|
D | StreamWriteFeature.java | 33 AUTO_CLOSE_TARGET(JsonGenerator.Feature.AUTO_CLOSE_TARGET), 46 AUTO_CLOSE_CONTENT(JsonGenerator.Feature.AUTO_CLOSE_JSON_CONTENT), 59 FLUSH_PASSED_TO_STREAM(JsonGenerator.Feature.FLUSH_PASSED_TO_STREAM), 75 WRITE_BIGDECIMAL_AS_PLAIN(JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN), 92 STRICT_DUPLICATE_DETECTION(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION), 112 IGNORE_UNKNOWN(JsonGenerator.Feature.IGNORE_UNKNOWN), 126 final private JsonGenerator.Feature _mappedFeature; 128 private StreamWriteFeature(JsonGenerator.Feature mappedTo) { in StreamWriteFeature() 157 public JsonGenerator.Feature mappedFeature() { return _mappedFeature; } in mappedFeature()
|
D | JsonGenerationException.java | 19 protected transient JsonGenerator _processor; 39 public JsonGenerationException(Throwable rootCause, JsonGenerator g) { in JsonGenerationException() 47 public JsonGenerationException(String msg, JsonGenerator g) { in JsonGenerationException() 55 public JsonGenerationException(String msg, Throwable rootCause, JsonGenerator g) { in JsonGenerationException() 66 public JsonGenerationException withGenerator(JsonGenerator g) { in withGenerator() 72 public JsonGenerator getProcessor() { return _processor; } in getProcessor()
|
D | TokenStreamFactory.java | 112 public abstract boolean isEnabled(JsonGenerator.Feature f); in isEnabled() 145 …public abstract JsonGenerator createGenerator(DataOutput out, JsonEncoding enc) throws IOException; in createGenerator() 146 public abstract JsonGenerator createGenerator(DataOutput out) throws IOException; in createGenerator() 147 public abstract JsonGenerator createGenerator(File f, JsonEncoding enc) throws IOException; in createGenerator() 148 public abstract JsonGenerator createGenerator(OutputStream out) throws IOException; in createGenerator() 149 …public abstract JsonGenerator createGenerator(OutputStream out, JsonEncoding enc) throws IOExcepti… in createGenerator() 150 public abstract JsonGenerator createGenerator(Writer w) throws IOException; in createGenerator()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/ |
D | GeneratorFeaturesTest.java | 21 JsonGenerator g = JSON_F.createGenerator(new StringWriter()); in testConfigDefaults() 22 assertFalse(g.isEnabled(JsonGenerator.Feature.WRITE_NUMBERS_AS_STRINGS)); in testConfigDefaults() 24 assertFalse(g.isEnabled(JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN)); in testConfigDefaults() 40 JsonGenerator g = JSON_F.createGenerator(new StringWriter()); in testConfigOverrides() 41 int mask = JsonGenerator.Feature.WRITE_NUMBERS_AS_STRINGS.getMask() in testConfigOverrides() 42 | JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN.getMask(); in testConfigOverrides() 44 assertTrue(g.isEnabled(JsonGenerator.Feature.WRITE_NUMBERS_AS_STRINGS)); in testConfigOverrides() 45 assertTrue(g.isEnabled(JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN)); in testConfigOverrides() 50 assertFalse(g.isEnabled(JsonGenerator.Feature.WRITE_NUMBERS_AS_STRINGS)); in testConfigOverrides() 51 assertFalse(g.isEnabled(JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN)); in testConfigOverrides() [all …]
|
D | CustomQuoteCharTest.java | 30 JsonGenerator g; in testBasicAposWithCharBased() 50 JsonGenerator g; in testBasicAposWithByteBased() 70 JsonGenerator g; in testAposQuotingWithCharBased() 91 JsonGenerator g; in testAposQuotingWithByteBased() 109 private void _writeObject(JsonGenerator g, String key, String value) throws Exception { in _writeObject() 115 private void _writeArray(JsonGenerator g, String value) throws Exception { in _writeArray()
|
D | JsonFactoryTest.java | 48 public void writeValue(JsonGenerator gen, Object value) throws IOException { in writeValue() 57 public void writeTree(JsonGenerator gen, TreeNode tree) throws IOException { in writeTree() 124 assertTrue(f.isEnabled(JsonGenerator.Feature.QUOTE_FIELD_NAMES)); in testGeneratorFeatures() 128 assertFalse(f.isEnabled(JsonGenerator.Feature.QUOTE_FIELD_NAMES)); in testGeneratorFeatures() 174 JsonGenerator gen = f.createGenerator(w); in testDisablingBufferRecycling() 183 JsonGenerator gen = f.createGenerator(bytes); in testDisablingBufferRecycling() 214 JsonGenerator jg = f.createGenerator(file, JsonEncoding.UTF16_LE); in testJsonWithFiles() 247 assertFalse(jf.isEnabled(JsonGenerator.Feature.ESCAPE_NON_ASCII)); in testCopy() 260 assertTrue(jf.isEnabled(JsonGenerator.Feature.ESCAPE_NON_ASCII)); in testCopy() 266 assertTrue(jf2.isEnabled(JsonGenerator.Feature.ESCAPE_NON_ASCII)); in testCopy() [all …]
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/ |
D | MinimalPrettyPrinter.java | 5 import com.fasterxml.jackson.core.JsonGenerator; 71 public void writeRootValueSeparator(JsonGenerator g) throws IOException in writeRootValueSeparator() 79 public void writeStartObject(JsonGenerator g) throws IOException in writeStartObject() 85 public void beforeObjectEntries(JsonGenerator g) throws IOException in beforeObjectEntries() 98 public void writeObjectFieldValueSeparator(JsonGenerator g) throws IOException in writeObjectFieldValueSeparator() 111 public void writeObjectEntrySeparator(JsonGenerator g) throws IOException in writeObjectEntrySeparator() 117 public void writeEndObject(JsonGenerator g, int nrOfEntries) throws IOException in writeEndObject() 123 public void writeStartArray(JsonGenerator g) throws IOException in writeStartArray() 129 public void beforeArrayValues(JsonGenerator g) throws IOException in beforeArrayValues() 142 public void writeArrayValueSeparator(JsonGenerator g) throws IOException in writeArrayValueSeparator() [all …]
|
D | DefaultPrettyPrinter.java | 38 void writeIndentation(JsonGenerator g, int level) throws IOException; in writeIndentation() 269 public void writeRootValueSeparator(JsonGenerator g) throws IOException in writeRootValueSeparator() 277 public void writeStartObject(JsonGenerator g) throws IOException in writeStartObject() 286 public void beforeObjectEntries(JsonGenerator g) throws IOException in beforeObjectEntries() 301 public void writeObjectFieldValueSeparator(JsonGenerator g) throws IOException in writeObjectFieldValueSeparator() 320 public void writeObjectEntrySeparator(JsonGenerator g) throws IOException in writeObjectEntrySeparator() 327 public void writeEndObject(JsonGenerator g, int nrOfEntries) throws IOException in writeEndObject() 341 public void writeStartArray(JsonGenerator g) throws IOException in writeStartArray() 350 public void beforeArrayValues(JsonGenerator g) throws IOException { in beforeArrayValues() 364 public void writeArrayValueSeparator(JsonGenerator g) throws IOException in writeArrayValueSeparator() [all …]
|
D | JsonGeneratorDelegate.java | 12 public class JsonGeneratorDelegate extends JsonGenerator 17 protected JsonGenerator delegate; 32 public JsonGeneratorDelegate(JsonGenerator d) { in JsonGeneratorDelegate() 41 public JsonGeneratorDelegate(JsonGenerator d, boolean delegateCopyMethods) { in JsonGeneratorDelegate() 64 @Override public JsonGenerator setCodec(ObjectCodec oc) { in setCodec() 111 public JsonGenerator enable(Feature f) { in enable() 117 public JsonGenerator disable(Feature f) { in disable() 133 public JsonGenerator setFeatureMask(int mask) { in setFeatureMask() 139 public JsonGenerator overrideStdFeatures(int values, int mask) { in overrideStdFeatures() 145 public JsonGenerator overrideFormatFeatures(int values, int mask) { in overrideFormatFeatures() [all …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/ |
D | TypeSerializer.java | 136 public abstract WritableTypeId writeTypePrefix(JsonGenerator g, in writeTypePrefix() 161 public abstract WritableTypeId writeTypeSuffix(JsonGenerator g, in writeTypeSuffix() 178 public void writeTypePrefixForScalar(Object value, JsonGenerator g) throws IOException { in writeTypePrefixForScalar() 190 public void writeTypePrefixForObject(Object value, JsonGenerator g) throws IOException { in writeTypePrefixForObject() 202 public void writeTypePrefixForArray(Object value, JsonGenerator g) throws IOException { in writeTypePrefixForArray() 214 public void writeTypeSuffixForScalar(Object value, JsonGenerator g) throws IOException { in writeTypeSuffixForScalar() 226 public void writeTypeSuffixForObject(Object value, JsonGenerator g) throws IOException { in writeTypeSuffixForObject() 238 public void writeTypeSuffixForArray(Object value, JsonGenerator g) throws IOException { in writeTypeSuffixForArray() 250 …public void writeTypePrefixForScalar(Object value, JsonGenerator g, Class<?> type) throws IOExcept… in writeTypePrefixForScalar() 262 …public void writeTypePrefixForObject(Object value, JsonGenerator g, Class<?> type) throws IOExcept… in writeTypePrefixForObject() [all …]
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/ |
D | JsonWriteFeature.java | 27 QUOTE_FIELD_NAMES(true, JsonGenerator.Feature.QUOTE_FIELD_NAMES), 42 WRITE_NAN_AS_STRINGS(true, JsonGenerator.Feature.QUOTE_NON_NUMERIC_NUMBERS), 61 WRITE_NUMBERS_AS_STRINGS(false, JsonGenerator.Feature.WRITE_NUMBERS_AS_STRINGS), 73 ESCAPE_NON_ASCII(false, JsonGenerator.Feature.ESCAPE_NON_ASCII), 106 final private JsonGenerator.Feature _mappedFeature; 124 JsonGenerator.Feature mapTo) { in JsonWriteFeature() 137 public JsonGenerator.Feature mappedFeature() { return _mappedFeature; } in mappedFeature()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/ |
D | GeneratorDupHandlingTest.java | 21 assertFalse(f.isEnabled(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION)); in testSimpleDupsLazilyBytes() 41 JsonGenerator g1; in _testSimpleDups() 45 g1.enable(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION); in _testSimpleDups() 47 f.enable(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION); in _testSimpleDups() 57 JsonGenerator g2; in _testSimpleDups() 60 g2.enable(JsonGenerator.Feature.STRICT_DUPLICATE_DETECTION); in _testSimpleDups() 72 protected JsonGenerator _generator(JsonFactory f, boolean useStream) throws IOException in _generator() 79 protected void _writeSimple0(JsonGenerator g, String name) throws IOException in _writeSimple0() 88 protected void _writeSimple1(JsonGenerator g, String name) throws IOException in _writeSimple1()
|
D | GeneratorCloseTest.java | 39 assertTrue(f.isEnabled(JsonGenerator.Feature.AUTO_CLOSE_TARGET)); in testNoAutoCloseGenerator() 41 f.disable(JsonGenerator.Feature.AUTO_CLOSE_TARGET); in testNoAutoCloseGenerator() 42 assertFalse(f.isEnabled(JsonGenerator.Feature.AUTO_CLOSE_TARGET)); in testNoAutoCloseGenerator() 45 JsonGenerator jg = f.createGenerator(output); in testNoAutoCloseGenerator() 58 f.enable(JsonGenerator.Feature.AUTO_CLOSE_TARGET); in testCloseGenerator() 61 JsonGenerator jg = f.createGenerator(output); in testCloseGenerator() 74 f.disable(JsonGenerator.Feature.AUTO_CLOSE_TARGET); in testNoAutoCloseOutputStream() 77 JsonGenerator jg = f.createGenerator(output, JsonEncoding.UTF8); in testNoAutoCloseOutputStream() 94 JsonGenerator jg = f.createGenerator(sw); in testAutoCloseArraysAndObjects() 114 JsonGenerator jg = f.createGenerator(sw); in testNoAutoCloseArraysAndObjects() [all …]
|
D | PrettyPrinterTest.java | 23 public void writeEndObject(JsonGenerator jg, int nrOfEntries) in writeEndObject() 30 public void writeEndArray(JsonGenerator jg, int nrOfValues) in writeEndArray() 53 JsonGenerator gen = useBytes ? JSON_F.createGenerator(bytes) in testObjectCount() 78 JsonGenerator gen = useBytes ? JSON_F.createGenerator(bytes) in testArrayCount() 99 JsonGenerator gen = JSON_F.createGenerator(sw); in testSimpleDocWithDefault() 109 JsonGenerator gen = JSON_F.createGenerator(sw); in testSimpleDocWithMinimal() 122 … public void beforeArrayValues(JsonGenerator jg) throws IOException, JsonGenerationException in testSimpleDocWithMinimal() 151 JsonGenerator gen = f.createGenerator(sw); in testCustomRootSeparatorWithFactory() 162 JsonGenerator gen = JSON_F.createGenerator(sw); in testCustomSeparatorsWithMinimal() 190 JsonGenerator gen = new JsonFactory().createGenerator(sw); in testCustomSeparatorsWithPP() [all …]
|
D | GeneratorBasicTest.java | 27 JsonGenerator gen; in testStringWrite() 84 JsonGenerator gen = JSON_F.createGenerator(sw); in testBooleanWrite() 109 JsonGenerator gen = JSON_F.createGenerator(sw); in testNullWrite() 139 JsonGenerator gen; in _testRootIntsWrite() 179 JsonGenerator gen; in _testFieldValueWrites() 210 JsonGenerator gen = JSON_F.createGenerator(sw); in testOutputContext() 278 JsonGenerator gen = JSON_F.createGenerator(out); in testGetOutputTarget() 292 JsonGenerator gen = JSON_F.createGenerator(out); in testGetOutputBufferd() 302 private void _testOutputBuffered(JsonGenerator gen) throws IOException in _testOutputBuffered() 339 JsonGenerator gen = JSON_F.createGenerator(bytes); in doTestIntValueWrite() [all …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/ |
D | JsonValueSerializer.java | 163 … public void serialize(Object bean, JsonGenerator gen, SerializerProvider prov) throws IOException in serialize() 188 public void serializeWithType(Object bean, JsonGenerator gen, SerializerProvider provider, in serializeWithType() 377 public WritableTypeId writeTypePrefix(JsonGenerator g, in writeTypePrefix() 385 public WritableTypeId writeTypeSuffix(JsonGenerator g, in writeTypeSuffix() 395 public void writeTypePrefixForScalar(Object value, JsonGenerator gen) throws IOException { in writeTypePrefixForScalar() 401 public void writeTypePrefixForObject(Object value, JsonGenerator gen) throws IOException { in writeTypePrefixForObject() 407 public void writeTypePrefixForArray(Object value, JsonGenerator gen) throws IOException { in writeTypePrefixForArray() 413 public void writeTypeSuffixForScalar(Object value, JsonGenerator gen) throws IOException { in writeTypeSuffixForScalar() 419 public void writeTypeSuffixForObject(Object value, JsonGenerator gen) throws IOException { in writeTypeSuffixForObject() 425 public void writeTypeSuffixForArray(Object value, JsonGenerator gen) throws IOException { in writeTypeSuffixForArray() [all …]
|
D | StdArraySerializers.java | 137 …public final void serialize(boolean[] value, JsonGenerator g, SerializerProvider provider) throws … in serialize() 150 public void serializeContents(boolean[] value, JsonGenerator g, SerializerProvider provider) in serializeContents() 214 …public final void serialize(short[] value, JsonGenerator g, SerializerProvider provider) throws IO… in serialize() 228 public void serializeContents(short[] value, JsonGenerator g, SerializerProvider provider) in serializeContents() 270 public void serialize(char[] value, JsonGenerator g, SerializerProvider provider) in serialize() 284 public void serializeWithType(char[] value, JsonGenerator g, SerializerProvider provider, in serializeWithType() 303 private final void _writeArrayContents(JsonGenerator g, char[] value) in _writeArrayContents() 381 …public final void serialize(int[] value, JsonGenerator g, SerializerProvider provider) throws IOEx… in serialize() 393 public void serializeContents(int[] value, JsonGenerator g, SerializerProvider provider) in serializeContents() 453 …public final void serialize(long[] value, JsonGenerator g, SerializerProvider provider) throws IOE… in serialize() [all …]
|
D | NumberSerializers.java | 127 public void serialize(Object value, JsonGenerator gen, in serialize() 150 public void serialize(Object value, JsonGenerator gen, in serialize() 157 public void serializeWithType(Object value, JsonGenerator gen, in serializeWithType() 179 public void serialize(Object value, JsonGenerator gen, in serialize() 192 public void serialize(Object value, JsonGenerator gen, in serialize() 207 public void serialize(Object value, JsonGenerator gen, in serialize() 227 public void serialize(Object value, JsonGenerator gen, in serialize() 234 public void serializeWithType(Object value, JsonGenerator g, in serializeWithType()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/ |
D | AsExternalTypeSerializer.java | 51 protected final void _writeScalarPrefix(Object value, JsonGenerator g) throws IOException { } in _writeScalarPrefix() 53 protected final void _writeObjectPrefix(Object value, JsonGenerator g) throws IOException { in _writeObjectPrefix() 57 protected final void _writeArrayPrefix(Object value, JsonGenerator g) throws IOException { in _writeArrayPrefix() 61 …protected final void _writeScalarSuffix(Object value, JsonGenerator g, String typeId) throws IOExc… in _writeScalarSuffix() 67 …protected final void _writeObjectSuffix(Object value, JsonGenerator g, String typeId) throws IOExc… in _writeObjectSuffix() 74 …protected final void _writeArraySuffix(Object value, JsonGenerator g, String typeId) throws IOExce… in _writeArraySuffix()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/ |
D | PropertyWriter.java | 5 import com.fasterxml.jackson.core.JsonGenerator; 106 …public abstract void serializeAsField(Object value, JsonGenerator jgen, SerializerProvider provide… in serializeAsField() 114 …public abstract void serializeAsOmittedField(Object value, JsonGenerator jgen, SerializerProvider … in serializeAsOmittedField() 133 …public abstract void serializeAsElement(Object value, JsonGenerator jgen, SerializerProvider provi… in serializeAsElement() 141 …public abstract void serializeAsPlaceholder(Object value, JsonGenerator jgen, SerializerProvider p… in serializeAsPlaceholder()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/ |
D | RawValue.java | 5 import com.fasterxml.jackson.core.JsonGenerator; 61 public void serialize(JsonGenerator gen, SerializerProvider serializers) throws IOException in serialize() 71 public void serializeWithType(JsonGenerator gen, SerializerProvider serializers, in serializeWithType() 84 public void serialize(JsonGenerator gen) throws IOException in serialize() 94 protected void _serialize(JsonGenerator gen) throws IOException in _serialize()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/exc/ |
D | InvalidDefinitionException.java | 3 import com.fasterxml.jackson.core.JsonGenerator; 36 protected InvalidDefinitionException(JsonGenerator g, String msg, in InvalidDefinitionException() 52 protected InvalidDefinitionException(JsonGenerator g, String msg, in InvalidDefinitionException() 70 public static InvalidDefinitionException from(JsonGenerator g, String msg, in from() 75 public static InvalidDefinitionException from(JsonGenerator g, String msg, in from()
|
/external/javaparser/javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/ |
D | JavaParserJsonSerializer.java | 33 import javax.json.stream.JsonGenerator; 50 public void serialize(Node node, JsonGenerator generator) { in serialize() 68 private void serialize(String nodeName, Node node, JsonGenerator generator) { in serialize() 107 protected void writeNonMetaProperties(Node node, JsonGenerator generator) { in writeNonMetaProperties() 112 protected void writeRange(Node node, JsonGenerator generator) { in writeRange() 124 protected void writeTokens(Node node, JsonGenerator generator) { in writeTokens() 134 protected void writeToken(String name, JavaToken token, JsonGenerator generator) { in writeToken()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | ObjectWriter.java | 255 JsonGenerator gen, boolean managedInput) in _newSequenceWriter() 326 public ObjectWriter with(JsonGenerator.Feature feature) { in with() 333 public ObjectWriter withFeatures(JsonGenerator.Feature... features) { in withFeatures() 340 public ObjectWriter without(JsonGenerator.Feature feature) { in without() 347 public ObjectWriter withoutFeatures(JsonGenerator.Feature... features) { in withoutFeatures() 675 public JsonGenerator createGenerator(OutputStream out) throws IOException { in createGenerator() 688 public JsonGenerator createGenerator(OutputStream out, JsonEncoding enc) throws IOException { in createGenerator() 701 public JsonGenerator createGenerator(Writer w) throws IOException { in createGenerator() 714 public JsonGenerator createGenerator(File outputFile, JsonEncoding enc) throws IOException { in createGenerator() 727 public JsonGenerator createGenerator(DataOutput out) throws IOException { in createGenerator() [all …]
|