I’m trying to replicate the following data structure but can’t figure out a way to achieve this, any help would be much appreciated:
“payload”: {
“id”: “1”,
“modalStack”: [],
“pageStack”: [
“page1”,
“page2”
]
}
or
“payload”: {
“id”: “1”,
“modalStack”: [
“modal1”,
“modal2”
]
“pageStack”: [],
}
Obviously checked out JSON Array type, but I don’t see how to just have a list of elements in the array. Rather than have an array of dictionaries.