How to restrict jackson from parsing millis to LocalDate in json request

I need to validate LocalDate fields in json requests. What i want is to prevent deserializing numbers as miilis to LocalDate. Here is example: I have an entity: public class Test { @NotNull @…

How to deserialise anonymous array of mixed types with Jackson

In my Java program, I am trying to parse data that I get from’s API. One of the JSON payloads, I receive from there looks as follows: [ {“type”: “altitude”,”data”: [519.1,519.3,519.3,519….