Package de.jsyn.unifi.controller.client
Class JSON
- java.lang.Object
-
- de.jsyn.unifi.controller.client.JSON
-
- All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-10T13:02:45.197345+01:00[Europe/Berlin]") 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- the date format to set
-
getContext
public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
- Specified by:
getContextin interfacejavax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
-