Posted By

virgil on 01/01/11


Tagged


Versions (?)

String to JSON object


 / Published in: JavaScript
 

normal eval doesn't work

  1. var obj = eval('(' +"{'MSRP': 20000,'cashDown': 2000,'tradeIn': 1000}" + ')');

Report this snippet  

You need to login to post a comment.