Might be a duplicate question, but couldn't find the answer. I want to stringify a javascript object that contains some JSON strings as values.

For example:

```
var obj = {id:1, options:"{\"code\":3,\"type\":\"AES\"}"};

```

As you see, the value for key 'options' is a JSON string. I want to stringify the object 'obj', without double stringifying the inner JSON string. 

Is there any clean and neat solution for this, except parsing each value with JSON string and stringifying the object?