Hello,
I’ve been familiarizing myself with the JSONWriter, Reader, and Extract components and am looking for some basic assistance in passing my metadata from a list container into a json object array.
My metadata:
secondary_type_id
[1024,3214,5323]
The json:
"types": {
"primary_type": {
"id": 1180
},
"secondary_types": [
{
"type": {
"id": 2
},
"visible_boolean": true
}
]
},
I’m able to pass the array nested under the object ID, but need each to be nested under an ID object. I’ve read through the JSONWriter docs and can’t figure it out still, any assistance would be appreciated! Looking for this:
"secondary_types": [
{
"type": {
"id": 3214
},
"visible_boolean": true
}
{
"type": {
"id": 1024
},
"visible_boolean": true
}
]