I gang

Filter JSON multidimensional array

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'.

Færdigheder: HMLT5, jQuery / Prototype

Se mere: json array filter, local storage, json, json c, category filter html, jquery storage, jquery category, filter category, filter html, json html, prototype json, category filter, jquery filter, cart filter filtered, filter posts, json jquery prototype, html json array, jquery json html, year filter, html json, json array, html json jquery, jquery html json, php multidimensional array csv, json array manipulation

Om arbejdsgiveren:
( 24 bedømmelser ) Acrefair, United Kingdom

Projekt-ID: #6015124

Tildelt til:

sdgcode

Hi , I have made php script , check http://www.test.sdgcode.com/json , this script read your json file and clean categories array and show only "year-1" , for this demo I made download option but for your finaly I wil Mere

£13 GBP in 0 dage
(18 bedømmelser)
4.7

6 freelancere byder i gennemsnit £15 for dette job

pixelke

A proposal has not yet been provided

£12 GBP på 1 dag
(9 bedømmelser)
3.4
valzerpatrick

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...

£13 GBP på 1 dag
(2 bedømmelser)
3.0
MoustafaS

Hi, do you want to do it using only jquery, I can do it and deliver within minutes. Just send me some category data, and if available html to insert in.

£20 GBP på 1 dag
(2 bedømmelser)
2.0
peterham1227

Hi. I have over 8 years experiences in html programming. I read about your job in detail and understood all. I want to work with you and I can start immediately. You will be received high quality result with very l Mere

£23 GBP på 1 dag
(1 bedømmelse)
1.5
coderoach

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

£10 GBP in 2 dage
(0 bedømmelser)
0.0