title: JSON Assertion to check format of JSON in Jmeter
body: <p>I am using Jmeter for the first time and have response data as follows:</p>
  <pre><code>{&quot;types&quot;:[{&quot;type&quot;:&quot;tag&quot;,&quot;probability&quot;:&quot;0.94&quot;},{&quot;type&quot;:&quot;word&quot;,&quot;probability&quot;:&quot;0.03&quot;},{&quot;type&quot;:&quot;search&quot;,&quot;probability&quot;:&quot;0.01&quot;},{&quot;type&quot;:&quot;model&quot;,&quot;probability&quot;:&quot;0.0&quot;},{&quot;type&quot;:&quot;express&quot;,&quot;probability&quot;:&quot;0.0&quot;},{&quot;type&quot;:&quot;serial&quot;,&quot;probability&quot;:&quot;0.0&quot;}],&quot;suggestions&quot;:[{&quot;model&quot;:&quot;AXT&quot;,&quot;dist&quot;:0.4286},{&quot;model&quot;:&quot;XL&quot;,&quot;dist&quot;:0.4},{&quot;model&quot;:&quot;03H&quot;,&quot;dist&quot;:0.4},{&quot;model&quot;:&quot;03&quot;,&quot;dist&quot;:0.4},{&quot;model&quot;:&quot;1435&quot;,&quot;dist&quot;:0.375}]}
  </code></pre>
  <p>I am trying to validate with regex if the JSON has specific format that to have type and probability under types and model and dist under suggestions.
  I used following but it does not validate</p>
  <pre><code>$.types[*].type
  </code></pre>