convert JSON object to a string
<p>Hi i want to convert the json object to a string with special characters escaped.</p>

<p>following is the example</p>

<pre><code>{
"xtype": "window",
"height": 250,
"width": 400,
"bodyPadding": "20 0 0 20",
"title": "Configuration",
"modal": true,
"items": [
    {
        "xtype": "textfield",
        "fieldLabel": "Deploy Path"
    },
    {
        "xtype": "textfield",
        "fieldLabel": "Save Path"
    },
    {
        "xtype": "button",
        "margin": "20 0 0 100",
        "text": "Save"
    }
]
}
</code></pre>

<p>above object to </p>

<pre><code>{\n    \"xtype\": \"window\",\n    \"height\": 250,\n    \"width\": 400,\n    \"bodyPadding\": \"20 0 0 20\",\n    \"title\": \"Configuration\",\n    \"modal\": true,\n    \"items\": [\n        {\n            \"xtype\": \"textfield\",\n            \"fieldLabel\": \"Deploy Path\"\n        },\n        {\n            \"xtype\": \"textfield\",\n            \"fieldLabel\": \"Save Path\"\n        },\n        {\n            \"xtype\": \"button\",\n            \"margin\": \"20 0 0 100\",\n            \"text\": \"Save\"\n        }\n    ]\n}
</code></pre>

<p>can anybody please help me here ?</p>

<p>Thanks in advance.</p>

<p>Hi,</p>

<p>My JSON contains some added plugins because of which the stringify function is not working. for example</p>

<pre><code>plugins: [
Ext.create('Ext.grid.plugin.CellEditing', {
ptype: 'cellediting'
})
]
</code></pre>

<p>This is something where the things are not working for me , and i hope somebody can help me out here.</p>

<p>Thanks in advance.</p>
