title: Getting an array name from a searched value
body: <p>I'm basically trying to have some code look for a specific JSON string in a JSON file and report back what the parent name of it is. I'm using NodeJS for this.</p>
  
  <p>For example:</p>
  
  <pre><code>{
      "Array1" : [
          "Thing1",
          "Thing2",
          "Thing3",
       ],
       "Array2" : [
       "Thing4",
       "Thing5",
       "Thing6"
       ]
  }
  </code></pre>
  
  <p>What I want this code to do is take a value I give it, e.g "Thing1", and report back with the name of the array it is in, so, I get it to search for "Thing1" and it gives me back "Array1". I get it to search for "Thing4" and it comes back with "Array2". The output it gives needs to be in a variable for me to use later on in my code.</p>
  
  <p>Thanks for any help!
  Cheers,
  Nathan.</p>