Java.Jackson.Serialize object to json

ObjectMapper mapper = new ObjectMapper();
mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
mapper.writeValueAsString(obj);
This entry was posted in Без рубрики. Bookmark the permalink.