JSON with Dynamic keys Mapping
2
How can we map following JSON to Mendix entity { "ServiceData": { "plain": ["Q9ex3$XibQU0mC", "Amdx3$XebQU0mC"], "modelObjects": { "Amdx3$XebQU0mC": { "objectID": "Amdx3$XebQU0mC", "uid": "Amdx3$XebQU0mC", "className": "Item", "type": "Item", "props": { "object_desc": { "dbValues": [""], "uiValues": [""], "isNulls": [true] } } }, "Q9ex3$XibQU0mC": { "objectID": "Q9ex3$XibQU0mC", "uid": "Q9ex3$XibQU0mC", "className": "ItemRevision", "type": "ItemRevision", "props": { "object_desc": { "dbValues": [""], "uiValues": [""], "isNulls": [true] } } } } } } values of objectIDs (Amdx3$XebQU0mC , Q9ex3$XibQU0mC) are dynamic . these values will change for every REST call.
asked
Vineet Rawat
2 answers
2
answered
Andrej Gajduk
1
Stay tuned, I got something for you in the upcoming days. I'll publish a module for it you can partly reuse to fix this requirement!
edit: I submitted a module to the appstore for approval.
answered
Pim van der Noll