I am using Jackson inside my Spring Boot project for generator JSON.
In my Java class I am using private LocalDateTime timestamp; Jackson converts it to JSON.
When timestamp contains for example: 2022-04-26T05:59:54:124530the JSON Object will receive 2022-04-26T05:59:54:12453
This causes an error in my receiving system which cannnot work with this date format. Unfortunantelly I am not able to change the receiving system.
Is there a way I can Jackson tell not to remove the zeros at the end?