Pass any given instance of a structure as parameter

Hi Guys,

JSON Serializer accepts a Record or a Record List to serialize any given outsystems structure into JSON, now I want to do something like this for one of my Server Actions, in which i will receive any structure and serialize it inside my Server action, this is to avoid having a JSON Serializer before every call to my server action which I already know will be needed. Is it possible? Any workaround somehow?



Unfortunately there is no workaround. you will have to depend on the JSON serializer.


Hi Oscar,

Have a look at the component.

There is also a demo  app (with download to the oap)

There is an action to convert any OutSystems object to JSON.