title: JSON.parse is not working for converting JSON string to JSON object
body: <p>Need help to convert below JSON string into JSON object.Even string JSON  is valid json (verified by <a href="https://jsonlint.com/" rel="nofollow noreferrer">https://jsonlint.com/</a>).</p>
  
  <p>JSON:</p>
  
  <pre><code>{
      "condition": "AND",
      "rules": [{
              "id": "amount",
              "operator": "greater_or_equal",
              "value": "900"
          },
          {
              "condition": "AND",
              "rules": [{
                      "id": "vendorname",
                      "operator": "equal",
                      "value": "US BANK NATIONAL ASSOCIATION"
                  },
  
                  {
                      "id": "vendorname",
                      "operator": "equal",
                      "value": "HANSEN SOLUTIONS  LLC"
                  }
              ]
          }
      ]
  
  }
  </code></pre>