@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-01-14T22:22:10.865Z[UTC]")
public class JSON
extends java.lang.Object
implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
| Constructor and Description |
|---|
JSON() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getContext(java.lang.Class<?> type) |
void |
setDateFormat(java.text.DateFormat dateFormat)
Set the date format for JSON (de)serialization with Date properties.
|
public void setDateFormat(java.text.DateFormat dateFormat)
dateFormat - Date formatpublic com.fasterxml.jackson.databind.ObjectMapper getContext(java.lang.Class<?> type)
getContext in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>