cosmos java sdk
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.1.0</version>
</dependency>
We want to use custom date format while serialization of POJO to JSON, Currently it is converting to long only. @JsonFormat( ...) can be put on getters to provide date format but it needs to be added to all the fields and there may be requirement of some other customization. What is the way to provide a custom ObjectMapper to cosmos client?