public class JsonUtil{
private static Gson gson = null;
static{
if(gson == null){
gson = new Gson();
gson = new GsonBuilder().setDateFormat("yyyy-MM-dd HH:mm:ss").create();
}
}
}
public class JsonUtil{
private static Gson gson = null;
static{
if(gson == null){
gson = new Gson();
}
}
}