-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
On TestRelated changes are deployed to Test serverRelated changes are deployed to Test serverenhancementNew feature or requestNew feature or requestjq / jmespath
Description
JMESPath is a query language for JSON, with libraries available in many languages (e.g. javascript and Python).
We can evaluate and consider to use it in api-respone-transform.js sub-module. Potentially remove or simplify the existing hard-coded transformers.
The overall benefits I believe this new feature can bring us:
- Allow to standardize the API response transformation in a well-defined language, and we can then put it into the SmartAPI metadata, instead of hard-coded API-specific code within the module.
- Simplify the complexity of the api-respone-transform.js sub-module, since the many transformation logic will be handled by JMESPath module.
- Support more complex transformation logic if needed.
Metadata
Metadata
Labels
On TestRelated changes are deployed to Test serverRelated changes are deployed to Test serverenhancementNew feature or requestNew feature or requestjq / jmespath