I have Json response as
"Test1": {
"Test2": [
[
0,
"US TV",
[]
]
]
}
I have created a Test2 class like
@JsonProperty("Test2")
@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
Test2[] arrayObjects;
And not sure how to give [] in Test2 class, can anyone suggest how to create Pojo for the mentioned Json response in Java?