How to make filter when using json format file