mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
java docs updates and fix the deserialisation for the LocalDate from topics
This commit is contained in:
@@ -216,7 +216,7 @@
|
|||||||
<property name="extendingBeanName" value="rm.simpleMappingExceptionResolver"/>
|
<property name="extendingBeanName" value="rm.simpleMappingExceptionResolver"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- Extend restJsonModule to add the list of custom serializers for formatting the LocalDate and DateTime from
|
<!-- Extend restJsonModule to include the custom serializers for formatting the LocalDate and DateTime from
|
||||||
joda-->
|
joda-->
|
||||||
<bean id="rm.restJsonModule" parent="restJsonModule">
|
<bean id="rm.restJsonModule" parent="restJsonModule">
|
||||||
<property name="jsonSerializers">
|
<property name="jsonSerializers">
|
||||||
|
@@ -58,7 +58,7 @@ public class CustomDateTimeSerializer extends StdScalarSerializer<DateTime>
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom serialize to convert the org.joda.time.DateTime into string value using the DATE_TIME_FORMAT
|
* Custom serialize method to convert the org.joda.time.DateTime into string value using the DATE_TIME_FORMAT
|
||||||
*
|
*
|
||||||
* @param value datetime value
|
* @param value datetime value
|
||||||
* @param jgen
|
* @param jgen
|
||||||
|
Reference in New Issue
Block a user