title: Identify string value in jSON based on FieldName only with array index changes every time
body: <p>How to search whole jSON output from postman and get only string values from newFields array and save in variable based on fieldName only</p>
  <blockquote>
  <p>fieldName&quot;: &quot;TX.Sessionval.cost</p>
  </blockquote>
  <p>Have to update Test case everytime since array index changes for newField with new build, next time the fieldid index would be /118 or /129 /234 .. so on</p>
  <p><strong>What does not change is fieldName: it remains same</strong></p>
  <pre><code>[
    {
     &quot;Fieldid&quot;: &quot;Fieldid/112&quot;,
      &quot;fieldName&quot;: &quot;TX.Sessionval.cost&quot;,
      &quot;stringval&quot;: &quot;jklah-dw-4c8d-8320-das313s3ASsda|000725N8WuUrfwAS7alP|banker_name&quot;
    }
  ]
  </code></pre>
  <p>My current postman test is limited to field id only and saving it to variable.</p>
  <pre><code>postman.setEnvironmentVariable(&quot;Stdid&quot;, jsonData.newFields[112].stringValue) 
  </code></pre>