◷ Reading Time: 2 minutes
FlexRule provides a dynamic and flexible platform. What that means is that types do not impact the execution of your expressions. These are interchangeable as long as they have the same structure. This gives you the flexibility to interchange the input with different types and still execute the model without any issues. This concept applies to every type, including JSON.
Native Complex Data
FlexRule supports built hierarchical complex values. (For more information, check Native Complex Value)
There are several ways of reading JSON in FlexRule:
- Define a parameter and set the type to JSON
- Orchestration with Flow and use File with JSON file type
- Pass in a string as input and use |asJson to get the JSON object at runtime
FlexRule expressions allow you to access and manipulate members of any object (including JSON).