Subversion Repositories SmartDukaan

Rev

Rev 25721 | Rev 29838 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25721 Rev 27999
Line 173... Line 173...
173
	}
173
	}
174
 
174
 
175
	@Bean(name = "gson")
175
	@Bean(name = "gson")
176
	public Gson gson() {
176
	public Gson gson() {
177
 
177
 
178
		Gson gson = new GsonBuilder().setPrettyPrinting().serializeNulls()
178
		Gson gson = new GsonBuilder().serializeNulls()
179
				.registerTypeAdapter(LocalDateTime.class, new LocalDateTimeJsonConverter()).create();
179
				.registerTypeAdapter(LocalDateTime.class, new LocalDateTimeJsonConverter()).create();
180
 
180
 
181
		return gson;
181
		return gson;
182
 
182
 
183
	}
183
	}