4546474849505152
} public static Gson getCreateGson() { GsonBuilder gsonBuilder = new GsonBuilder() .registerTypeAdapter(Date.class, new DateSerializer()) .registerTypeAdapter(Date.class, new DateDeserializer()); return gsonBuilder.create(); }
525354555657585960
} public static Gson getGson() { GsonBuilder gsonBuilder = new GsonBuilder() .registerTypeAdapter(Date.class, new DateSerializer()) .registerTypeAdapter(Date.class, new DateDeserializer()) .serializeNulls(); return gsonBuilder.create(); }