I have this multidimensional JSON array which is stringified and saved in localstorage as 'json_news' (see attached). I also have a category slug stored to localstorage as 'category_slug' (e.g. 'year-1').
I need to filter 'json_news' to return an array to local storage as 'filtered_news' with the same structure as 'json_news' but with only those posts included that contain an entry under "categories" that has a 'slug' which matches 'category_slug'.
6 freelancere byder i gennemsnit £15 for dette job
I did json array filtering in others project of mine, being a very common thing using json array of objects... ready to start the work.. it will be ready by tomorrow... waiting your answer...
Hi, I have 5+ years of experience in software development. I have read your requirement and I can work on it Please let me know if interested. Thanks, Bhupinder Skyp- coderoach