Class JSON

  • All Implemented Interfaces:
    javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>

    @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-05-15T14:38:14.328808-03:00[America/Argentina/Buenos_Aires]")
    public class JSON
    extends java.lang.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.ObjectMapper getContext​(java.lang.Class<?> type)  
      void setDateFormat​(java.text.DateFormat dateFormat)
      Set the date format for JSON (de)serialization with Date properties.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JSON

        public JSON()
    • Method Detail

      • setDateFormat

        public void setDateFormat​(java.text.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​(java.lang.Class<?> type)
        Specified by:
        getContext in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>