title: How to remove single quotes from around the properties of a json string
body: <p>I need a correct and easy way to convert a JSON String to object (javascript code string), like:</p>
  
  <pre><code>"'attribute': {
    'attribute': 'value',
    'attribute2': 0
  }"
  </code></pre>
  
  <p>to</p>
  
  <pre><code>"attribute: {
    attribute: 'value',
    attribute2: 0
  }"
  </code></pre>
  
  <p>The thing is remove the <code>'</code> around the attribute.</p>
  
  <p>The porpose of this is to help convert a object to a javascript code using the JSON.stringfy().</p>