example json
{
"11var":"value1",
"11var2":"val2",
"11var3":"val3",
"11var4":"val444",
"11var5":"val5",
.....
}
how to convert this to a pojo in latest spring boot and jackson setup?
PS: I know we can do @JsonProperty("11var") and so on for all variables. my point what are the other ways. and also main issue here we cant start variable names with numbers in java check here
Use
mapand jacksonobjectMapper