Posts Tagged J2EE

Create a pojo class of Json objects [using jackson]


//1. create a class to map the json data e.g
import org.codehaus.jackson.annotate.JsonAnyGetter;
import org.codehaus.jackson.annotate.JsonAnySetter;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;

import java.util.HashMap;
import java.util.Map;

/**
*
* @author Shishir Pokharel
*/
public class model {

// and then "other" stuff:
protected 
Read more

, , , , ,

No Comments