Skip to content

Commit

Permalink
InlineElementRepresentationDeserializer can simply extend JsonDeseria…
Browse files Browse the repository at this point in the history
…lizer (#23)
  • Loading branch information
reda-alaoui authored Dec 2, 2024
1 parent 1867b22 commit e1b4295
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,16 @@
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.deser.std.StdDeserializer;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.exc.MismatchedInputException;
import java.io.IOException;
import java.util.Map;

/**
* @author Réda Housni Alaoui
*/
class InlineElementRepresentationDeserializer extends StdDeserializer<InlineElementRepresentation> {

public InlineElementRepresentationDeserializer() {
this(null);
}

protected InlineElementRepresentationDeserializer(Class<?> vc) {
super(vc);
}
class InlineElementRepresentationDeserializer
extends JsonDeserializer<InlineElementRepresentation> {

@Override
public InlineElementRepresentation deserialize(JsonParser p, DeserializationContext ctxt)
Expand Down

0 comments on commit e1b4295

Please sign in to comment.