[OutSystems Data Grid] How do I deserialize the JSON of a serialized aggregate with multiple entities?
Reactive icon
Forge component by Gonçalo Martins

In order to use the data grid reactive, I had to serialize an aggregate which had several entities. Now, I want to get an ID value from the selected row from one of the aggregates. How do I deserialize that aggregate JSON? It asks me to choose one entity - not several.


I think I solved it myself. Basically had to capture the JSON line from the clicked event in Data Grid Reactive, then let Studio create a structure from JSON. It created structures for each of the entities, then a nested structure including those structures. I was then able to use JSON Deserialize, and address each field easily.

please explain elaborately or share oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.