I have an object that can only be instantiated when a particular field is known. This field is immutable. What is the best way to construct a deserializer for this object? (without having to completely rewrite the functionality provided by DeserializerImpl for example).
 
e.g.
 
public class DummyClass {
 
    public DummyClass (int id, String value){
            this.id = id;
            this.value = value;
    }
 
    public int getId(){
        return this.id;
    }
 
    public String getValue(){
        return this.value;
    }
 
}
 
 

Reply via email to