I have the following simple class:
import org.codehaus.jackson.annotate.JsonIgnoreProperties; @JsonIgnoreProperties({ \"thirdField\" }) public class Message
Try using the last Jackson version (2.4):
import com.fasterxml.jackson.annotation.JsonIgnoreProperties @JsonIgnoreProperties({"id"})
Here you can find an example where it's implement using version 2.4: http://www.ibm.com/developerworks/java/library/j-hangman-app/index.html