Package com.symphony.bdk.http.jersey2
Class JSON
java.lang.Object
com.symphony.bdk.http.jersey2.JSON
- All Implemented Interfaces:
jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@API(status=INTERNAL)
public class JSON
extends Object
implements jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMappergetContext(Class<?> type) voidsetDateFormat(DateFormat dateFormat) Set the date format for JSON (de)serialization with Date properties.
-
Constructor Details
-
JSON
public JSON()
-
-
Method Details
-
setDateFormat
Set the date format for JSON (de)serialization with Date properties.- Parameters:
dateFormat- Date format
-
getContext
- Specified by:
getContextin interfacejakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-