2 Replies - 182 Views - Last Post: 04 August 2014 - 08:20 AM Rate Topic: -----

#1 SageYoung  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 29-June 14

Most Elegant Way To Match, Filter & Sort?

Posted 04 August 2014 - 07:18 AM

Here's the problem I'm looking to solve in a nutshell…

1) Get json API data from multiple sources.

2) Compare json keys from each API source against a data set hard coded with key names.

3) Filter out all key values from each API source that doesn't contain the hard coded key name. Leaving only the data that overlaps from step 1 & 2.

4) Sort that overlapping json key values. And display high to low.

What would be the most elegant want to do this?

Is This A Good Question/Topic? 0
  • +

Replies To: Most Elegant Way To Match, Filter & Sort?

#2 andrewsw  Icon User is offline

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3511
  • View blog
  • Posts: 11,992
  • Joined: 12-December 12

Re: Most Elegant Way To Match, Filter & Sort?

Posted 04 August 2014 - 07:54 AM

Asking for the most elegant solution is a bit disingenuous. You might get a better response if you just asked "how would you approach building my application".
Was This Post Helpful? 0
  • +
  • -

#3 SageYoung  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 29-June 14

Re: Most Elegant Way To Match, Filter & Sort?

Posted 04 August 2014 - 08:20 AM

Fair enough...

how would you approach building my application?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1