Package org.gluu.casa.client.config
Class JSON
- java.lang.Object
-
- org.gluu.casa.client.config.JSON
-
- All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-07-18T14:15:05.565Z") public class JSON extends Object implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
-
Constructor Summary
Constructors Constructor Description JSON()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.ObjectMappergetContext(Class<?> type)voidsetDateFormat(DateFormat dateFormat)Set the date format for JSON (de)serialization with Date properties.
-
-
-
Method Detail
-
setDateFormat
public void setDateFormat(DateFormat dateFormat)
Set the date format for JSON (de)serialization with Date properties.- Parameters:
dateFormat- Date format
-
getContext
public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
- Specified by:
getContextin interfacejavax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
-