Package fr.gouv.vitam.antivirus.client.invoker

# Class JSON

java.lang.Object
fr.gouv.vitam.antivirus.client.invoker.JSON

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-10-29T21:12:11.613695899+01:00[Europe/Paris]", comments="Generator version: 7.4.0") public class JSON extends Object implements jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JSON()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `com.fasterxml.jackson.databind.ObjectMapper`
  `getContext(Class<?> type)`
  `void`
  `setDateFormat(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 Details

  - ### JSON

    public JSON()

- ## Method Details

  - ### 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 `jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>`