You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to load rules using JSON for nested arrays. For arrays inside a JSON object, everything works fine. How do I access elements of an array inside another array?
For instance :-
{
"data":[{
"package":{
"items":[{
"value":5
}]
}]
}
A rule condition with value equal to 6, the below rule throws 202 Parse Error.
"test": {
"r_0": {
"all": [
{
"m": {
"$iall":{
"data":{
"$i.package":{
"$iall":{
"items":{
"$i.value":6
}
}
}
}
}
}
}
Thanks
The text was updated successfully, but these errors were encountered:
Hi Jesus,
I was trying to load rules using JSON for nested arrays. For arrays inside a JSON object, everything works fine. How do I access elements of an array inside another array?
For instance :-
Thanks
The text was updated successfully, but these errors were encountered: