package com.darrenforsythe.jackson.ignore.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;

public class MyObject {

	private int id;
	@JsonProperty
	private String name;
	private Date date;
	
	
	public MyObject(){
		setId(1);
		setName("thing");
		setDate(new Date());
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public Date getDate() {
		return date;
	}


	public void setDate(Date date) {
		this.date = date;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}
	
	
}

@@ -145,16 +145,18 @@
 Object %7B
+%0A%09
 %0A%0A%09priva
@@ -330,24 +330,68 @@
 getName() %7B%0A
+%09%09System.out.println(%22Name just got get!%22);%0A
 %09%09return nam
@@ -430,24 +430,68 @@
 ing name) %7B%0A
+%09%09System.out.println(%22Name just got set!%22);%0A
 %09%09this.name 

Update with systemout to verify that the getters/setters are used.