Skip to content
Jing Lu edited this page May 10, 2013 · 20 revisions

JSON in ReoScript

JSON Object

Create object using JSON literal:

var obj = { name: 'apple', 
            color: 'red',
            amount: 3, };

JSON String

Convert string to object using eval function:

var obj = eval('(' + 
var json = JSON.

Clone this wiki locally