Closed pranjal0811 closed 5 years ago
Does siddhi stream support the nested structure?
Let's consider I have the stream like -
eg :
{ "name" : "abc", "id" : "xyz", "account" : [ {"bank":"sbi","bal":100},{"bank":"pnb","bal":1000} ] }
I have two questions-
from inputStream(id == 'qwerty' and account.bank == 'sbi') select "AAA" as signal insert into outputStream
Any suggestions?
There are two approaches to achieve your requirement.
Closing since answered. Please re-open the issue if you have any concerns.
Does siddhi stream support the nested structure?
Let's consider I have the stream like -
eg :
I have two questions-
from inputStream(id == 'qwerty' and account.bank == 'sbi') select "AAA" as signal insert into outputStream
Any suggestions?