How to convert JSON string values to lowercase in Javascript?
<p>I have some JSON data which contains mixture of string and int values. How can I convert all the string values to lowercase?</p>

<p>For example:</p>

<pre><code>{ id: 0, name: "SAMPLe", forms: { formId: 0, id: 0, text: "Sample Text" }}
</code></pre>

<p>Desired output:  </p>

<pre><code>{ id: 0, name: "sample", forms: { formId: 0, id: 0, text: "sample text" }}
</code></pre>