-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Jsonata json type inference #690
Comments
This seems interesting. Can you give me a practical example to help me (potential JSONata user) understand a bit more? |
Sure ! |
Oh, I think that would be super helpful. Thanks for the explanation! |
Any luck pushing this forward? |
I started to look into it, I have some basic examples working |
It would be great if on top of transforming data, Jsonata was also able to transform the schema of the data.
I have been experimenting a little bit, and it is fairly straight forward to re-use the same AST but to modify the evaluation function to work on a Json Scheme instead of a Json payload.
we would then have:
expression -> AST
evaluateJson(AST, jsonInput) -> jsonOutput
evaluateSchema(AST, jsonSchemaInput) -> jsonSchemaOutput
The text was updated successfully, but these errors were encountered: