@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-20T00:53:32.523Z") public class JSON extends 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(Class<?> type) |
void |
setDateFormat(DateFormat dateFormat)
Set the date format for JSON (de)serialization with Date properties.
|
public void setDateFormat(DateFormat dateFormat)
dateFormat
- Date formatpublic com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
getContext
in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Copyright © 2017-2019 Fortanix Inc. All Rights Reserved