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
}
}
}
}
}
}
}
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