Hiding the object name of a list in mendix JSON strucure

0
Hi,   I want to hide the striked section in the JSON Structure while mapping with a message definition. I know it is possible to map based on JSON Structure then the list object is generated with name JSONObject. I want to know is it possible to do it with the message definition.  "Documents": {     "DocumentData": [       {         "Name": "string",         "Base64": "string"       }     ]   }
asked
2 answers
0

Hello Thomas,

 

Would you mind sharing what your domain model looks like and what the resulting JSON structure should look like after striking out that section?

 

Thanks

answered
0

Here is an example of my domain model and JSON structure what I want. 

"Documents": [

      {

        "Name": "string",

        "Base64": "string"

      }

    ]

  }

Domain model.png

 

 

answered