How fetch the JSON value on condition
<p>I have a JSON like:</p>

<pre><code>{
   "data":{
      "mapping":[
         {
            "erp":"SYMIX",
            "plant":"RY1",
            "region":"NA"
         },
         {
            "erp":"SAP",
            "plant":"EXM",
            "region":"ASIA"
         }
      ]
   }
}
</code></pre>

<p>I get a value of plant on that basis I want to get the value of erp.
like if I get RY1 SYMIX needs to be fetch. How can I achieve this using Java</p>