how to convert json values in comma separated string using javascript
<p>I have following JSON string :</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>{"name":"Marine Lines","location_id":3},{"name":"Ghatkopar","location_id":2}</code></pre>
</div>
</div>
</p>

<p>I want location_id as</p>

<p>3,2</p>