Answer the question
In order to leave comments, you need to log in
Jackson annotation - to interpret an object as an array?
Hello,
such a situation, there is an array, but it is passed as an object. We are talking about an array where the painted time intervals in the days of the week and other information. But it is not passed as an array, but as an object.
Is there some kind of Json annotation that says that this object should be interpreted as an array.
Here is an example object.
"hotline": {
"Monday": { "ranges": [], "closed": false, "wholeDay": false },
"Tuesday": { "ranges": [], "closed": false, "wholeDay": false },
....
....
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question