-
Notifications
You must be signed in to change notification settings - Fork 421
Closed
Description
It would be great if we could directly access nested items in the name
String of @JsonKey
. Consider this Json:
"root_item": {
"items": [
{
"name": "first nested item"
},
{
"name": "second nested item"
}
]
}
I would like to do:
@JsonKey(name: "root_item/items")
List<NestedItem> nestedItems;
Sorry if this is already possible, but i could not find anything.
SvenSchoene, vanlooverenkoen, fousa, aspiringant, loveforgeter and 68 moretolotrasamuel, vanlooverenkoen, arpitignite, k-paxian, taoyimin and 20 moretolotrasamuel, arpitignite, vanlooverenkoen, deadsoul44, jarekb123 and 11 moretolotrasamuel, vanlooverenkoen, deadsoul44, jarekb123, ResoDev and 9 more