Dealing with a large JSON array can be challenging. In this case, I am looking to extract specific objects from the array based on a condition - each object should have "dbstatus":-3.
data = [{"id":"122","dbstatus":-3},{"id":"123","dbstatus":"-6"},{"id":"414","dbstatus":-3}]
The new array I want to create should only contain:
data2=[{"id":"122","dbstatus":-3},{"id":"414","dbstatus":-3}]
If anyone knows how to achieve this, please help me out!