Class 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 Detail

      • JSON

        public JSON()
    • 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:
        getContext in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>