title: Postman test for empty dictionary value of json name
body: <p>How can I write a test for an empty value of a specific JSON name pair. For example I have this JSON:</p>
  
  <pre><code>{
      "data": {
          "sectionGroupName": "PPConfig:APIMethod",
          "sections": {}
      },
      "success": true,
      "errorMessage": ""
  }
  </code></pre>
  
  <p>I want to check if sections is empty, like it is in this case. I have other successful tests written like this:</p>
  
  <pre><code>tests["Status code is 200"] = responseCode.code === 200;
  var body = JSON.parse(responseBody);
  tests["Success Response"] = body.success === true;
  tests["No Error message"] = body.errorMessage === "";
  tests.Data = body.data.sectionGroupName === "PPConfig:APIMethod";
  </code></pre>
  
  <p>But I haven't been able to find successful test code for checking if the value of a specific name is an empty dictionary. Can someone help me with this as an example please?</p>