title: Logic App : Finding element in Json Object array (like XPath fr XML)
body: <p>In my logic app, I have a JSON object (parsed from an API response) and it contains an object array.</p>
  
  <p>How can I find a specific element based on attribute values... Example below where I want to find the (first) active one</p>
  
  <pre><code>{
      "MyList" : [
          {
              "Descrip" : "This is the first item",
              "IsActive" : "N"
          },
          {
              "Descrip" : "This is the second item",
              "IsActive" : "N"
          },
          {
              "Descrip" : "This is the third item",
              "IsActive" : "Y"
          }
     ]
  }
  </code></pre>