|
|
@ -165,6 +165,7 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
|
|
|
|
protected void configureObjectMapper(ObjectMapper mapper) {
|
|
|
|
protected void configureObjectMapper(ObjectMapper mapper) {
|
|
|
|
mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
|
|
|
|
mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
|
|
|
|
mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
|
|
|
|
mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
|
|
|
|
|
|
|
|
mapper.configure(SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS, false);
|
|
|
|
mapper.configure(MapperFeature.USE_STD_BEAN_NAMING, true);
|
|
|
|
mapper.configure(MapperFeature.USE_STD_BEAN_NAMING, true);
|
|
|
|
mapper.setSerializationInclusion(Include.NON_NULL);
|
|
|
|
mapper.setSerializationInclusion(Include.NON_NULL);
|
|
|
|
applyConfigurationPropertiesFilter(mapper);
|
|
|
|
applyConfigurationPropertiesFilter(mapper);
|
|
|
|