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
true
false
json-expression
ExprGet
ExprEquals
ExprNotEquals
ExprIf
ExprAnd
ExprOr
ExprNot
ExprType
ExprBool
ExprNum
ExprInt
ExprStr
ExprStarts
ExprContains
ExprEnds
ExprDefined
ExprIn
ExprMatches
ExprCat
ExprSubstr
ExprLessThan
ExprLessThanOrEqual
ExprGreaterThan
ExprGreaterThanOrEqual
ExprBetweenNeNe
ExprBetweenNeEq
ExprBetweenEqNe
ExprBetweenEqEq
ExprMin
ExprMax
ExprPlus
ExprMinus
ExprAsterisk
ExprSlash
ExprMod
ExprRound
ExprCeil
ExprFloor
undefined
It could be called json-expressions and implement basic expressions, like:
json-expressions
['and', ['starts', 'mu.bl/:posts-', ['get', '/req/id']], ['<', ['len', ['get', '/req/batch']], 5] ] ['add', '/tmp/userId', ['val', 'xxxxxxxx']] ['and', ['==', 'document-123', ['get', '/channel']], ['==', 'mousemove', ['get', '/data/type']], ['<', 123234343433, ['get', '/data/timestamp']], ['in', ['get', '/data/customer_interests'], [[ "rugby", "football", "baseball" ]]] ]
Alternatively, a more advanced version of this could treat everything as function:
['map', [[1, 2, 3]], ['*', 2]] // [2, 4, 6]
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 6.0.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
true
orfalse
.Return schema complexity estimate at compilation time? Complexity could be expressed as the number of JavaScript expressions.On schema evaluation, return the number of JavaScript expressions evaluated?json-expression
.ExprGet
ExprEquals
ExprNotEquals
ExprIf
ExprAnd
ExprOr
ExprNot
ExprType
ExprBool
ExprNum
ExprInt
ExprStr
ExprStarts
ExprContains
ExprEnds
ExprDefined
ExprIn
ExprMatches
ExprCat
ExprSubstr
ExprLessThan
ExprLessThanOrEqual
ExprGreaterThan
ExprGreaterThanOrEqual
ExprBetweenNeNe
ExprBetweenNeEq
ExprBetweenEqNe
ExprBetweenEqEq
ExprMin
ExprMax
ExprPlus
ExprMinus
ExprAsterisk
ExprSlash
ExprMod
ExprRound
ExprCeil
ExprFloor
json-expression
"get" operator if value not found.json-expression
should throw on anyundefined
values? Asundefined
is not part of JSON and is unique to JavaScript.vs JSON patchImplement AWS SNS filtering rule compiler tojson-expression
It could be called
json-expressions
and implement basic expressions, like:Alternatively, a more advanced version of this could treat everything as function:
The text was updated successfully, but these errors were encountered: