JS parse string always as string and no number evaluation : <p>Example:</p>

<pre><code>var garbage = JSON.parse('12345E666');
</code></pre>

<p>=> infinity
while </p>

<pre><code>var garbage = JSON.parse('1234E300');
</code></pre>

<p>=> 1.234e+303</p>

<p>As you can see, this is rather rotten and definitely not what I want. </p>

<p>The task at hand is to receive a string ... and it should remain as such. 
I have looked at JSON.stringify already, but this is also not what I want:</p>

<p>=> "\"1234E300\"".
Additional clean-up is required and it is always a mess to do this afterwards. </p>

<p>JSON.parse accepts an additional parameter, but from what I have seen, this is also not elegant.</p>

<pre><code>var garbage1 = JSON.parse('1234E300', function(key, value){return value;});
var garbage2 = JSON.parse('1234E300', function(key, value){return value;});
</code></pre>

<p>Well ... see for yourself. It is rotten. </p>

<p>How do I prevent JS to be smart and interpret something out of a string that it should not do? </p>

<p>Input (String) => Output (Value) ... and no messing around with the data that should not be there.</p>
