OutSystems already makes it incredibly easy to work with well-defined JSON by using structures and auto-mapping features. This is a huge time-saver for many use cases where the JSON format is stable and known in advance.
However, as applications scale and start interacting with more dynamic or external APIs, developers often encounter more complex and less predictable JSON formats — ones that include dynamic keys, mixed-type arrays, deeply nested objects, or optional fields.
Currently, handling such JSON in OutSystems often requires workarounds like JavaScript, server-side logic, or external services. Introducing more native low-code tools for advanced JSON manipulation would reduce complexity and enhance developer productivity even further.Key Suggestions (all optional, modular enhancements):
Support for dynamic keys in JSON structures
Example: { "user_1": {...}, "user_2": {...} }
Allow mixed-type arrays in a single list
Example: [ "Hello", 123, true, { "x": 1 } ]
Enable handling of deeply nested arrays and structures
Example: { "matrix": [[1, 2], [3, 4]] }
Introduce JSONPath-style querying for deep traversal
Extract a value like "c" from { "a": { "b": [1, { "c": true }] } }. Improve error feedback from JSONSerialize and JSONDeserialize
Provide clearer debug info for mapping failures.
These improvements will not only maintain the simplicity of current low-code development, but also open the door to more reliable integration with complex APIs and data formats, without disrupting the existing patterns used by the community.
In one of my recent cases, I was not able to integrate a polygon type structure(standard) from the customer API, so I had to ask for a change in the structure. So after this implementation we can get a solution to this problem.