title: How to select the complete JSON node if any key-value pair matched inside the node?
body: <p>I have JSON some thing like below</p>
  <pre><code>{
      &quot;title&quot;: &quot;seller_information&quot;,
      &quot;sellers&quot;: [
          {
              &quot;seller&quot;: &quot;s1&quot;,
              &quot;prod_on_sale&quot;: &quot;flowers&quot;
          },
          {
              &quot;seller&quot;: &quot;s2&quot;,
              &quot;prod_on_sale&quot;: &quot;pet_food&quot;
          },
          {
              &quot;seller&quot;: &quot;s3&quot;,
              &quot;prod_on_sale&quot;: &quot;vegatables&quot;
          }
      ]
  }
  </code></pre>
  <p>I am aware how to iterate through JSON Array based on key and extract the values of that particular key. But stuck with one scenario let say instead of key i have value with if i have value 's1' with me i want to traverse through above JSON and if it matches with any value i want to extract the complete JSON related to that value 's1' like below</p>
  <pre><code> {
     &quot;seller&quot;: &quot;s1&quot;,
      &quot;prod_on_sale&quot;: &quot;flowers&quot;
   }
  </code></pre>
  <p>Please suggest some idea how can i do this i am newbie to JSON. Thanks in advance.</p>