I need a correct and easy way to convert a JSON String to object (javascript code string), like:
"'attribute': {
  'attribute': 'value',
  'attribute2': 0
}"
to
"attribute: {
  attribute: 'value',
  attribute2: 0
}"
The thing is remove the ' around the attribute.
The porpose of this is to help convert a object to a javascript code using the JSON.stringfy().
 
     
    