We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What is the difference between $body.some.path vs $.body.some.path?
$body.some.path
$.body.some.path
The text was updated successfully, but these errors were encountered:
When you run the kriti interpreter you provide a mapping of variables to JSON values which are in scope for the kriti template:
runKriti :: Text -> [(Text, Value)] -> Either KritiErr Value
In your examples, $body and $ are both variables that are being assigned to a JSON object.
$body
$
In each respective case they might something like:
$body = { "some": { "path": "foo"}}
$ = { "body" {"some": {"path": "foo"}}}
Sorry, something went wrong.
Thanks
No branches or pull requests
What is the difference between
$body.some.path
vs$.body.some.path
?The text was updated successfully, but these errors were encountered: