1

I have this JSON file I'm making a web request to.

It's an array of JSON objects as you can see and I want to get the object that has a matching hash to. What I have my end goal is to get the upVotes and downVotes from stats.

Here is an individual object example.

Also, I'm trying not to use any for loops if possible since I want as much performance as I can.

Basically, say, in my code, I have a hash

4b2da842b687ec4cfbc948c583c21c79d4120de0

and, I want the object that has that value for the hash in the JSON.

Azeem
  • 11,148
  • 4
  • 27
  • 40

0 Answers0