@Test public void mapping_Objects_Serializes_During_Deserialization_And_Returns_Null() throws IOException { assertThat(underTest.mapObject(parser, context), nullValue()); verify(generator).writeStartObject(); verify(generator).writeEndObject(); }
@Override @Nullable protected Object mapObject(final JsonParser parser, final DeserializationContext context) throws IOException { generator.writeStartObject(); super.mapObject(parser, context); generator.writeEndObject(); return null; }
UntypedObjectDeserializerSerializer extends UntypedObjectDeserializer { @Override @Nullable protected Object mapObject(final JsonParser parser, final DeserializationContext context) throws IOException { generator.writeStartObject(); super.mapObject(parser, context); generator.writeEndObject(); return null; } }
UntypedObjectDeserializerSerializer extends UntypedObjectDeserializer { @Override @Nullable protected Object mapObject(final JsonParser parser, final DeserializationContext context) throws IOException { generator.writeStartObject(); super.mapObject(parser, context); generator.writeEndObject(); return null; } UntypedObjectDeserializerSerializer(final JsonGenerator generator); }
UntypedObjectDeserializerSerializer extends UntypedObjectDeserializer { @Override @Nullable protected Object mapObject(final JsonParser parser, final DeserializationContext context) throws IOException { generator.writeStartObject(); super.mapObject(parser, context); generator.writeEndObject(); return null; } UntypedObjectDeserializerSerializer(final JsonGenerator generator); @Override @Nullable Object deserialize(final JsonParser parser, final DeserializationContext context); }
UntypedObjectDeserializerSerializer extends UntypedObjectDeserializer { @Override @Nullable protected Object mapObject(final JsonParser parser, final DeserializationContext context) throws IOException { generator.writeStartObject(); super.mapObject(parser, context); generator.writeEndObject(); return null; } UntypedObjectDeserializerSerializer(final JsonGenerator generator); @Override @Nullable Object deserialize(final JsonParser parser, final DeserializationContext context);  }