How I do javascript string manipulation?
<p>I have a variable like this:</p>

<pre><code>var data= [{"Timestamp":1349816400000,"TaskEffortLeft":123},{"Timestamp":1352498400000,"TaskEffortLeft":-123}]
</code></pre>

<p>Now I want to strip out those "Timestamp": and "TaskEffortLeft": and also change curly brackets into big bracket and make it Like this:</p>

<pre><code>var data= [[1349816400000,123],[1352498400000,-123]]
</code></pre>

<p>How do I do that?
Thanks for your help in advance.</p>
