I want to filter my JSON in such a way that I only want to have data with "category": 'two'
.
Data:
var json = [
{"id": 1,
"category":'one';
}
{"id": 1,
"category":'two';
}
{"id": 1,
"category":'two';
}
{"id": 1,
"category":'three';
}
]