Answer the question
In order to leave comments, you need to log in
How to make low_case keys and value of incoming json in java?
json flies to my controller, but there the keys-values are in upper case, since json is too big it is too routine to ask for pojo @JsonProperty
Question: is it possible to make them automatically in lower case in java?
Answer the question
In order to leave comments, you need to log in
this is described in
https://www.baeldung.com/jackson-advanced-annotati...
The @JsonNaming
annotation is used to choose the naming strategies for properties in serialization, overriding the default. Using the value element, we can specify any strategy, including custom ones.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question