Fri, 20 May 2016 20:40:18 +0530
8157160: JSON.stringify does not work on ScriptObjectMirror objects
Reviewed-by: hannesw, mhaupt, jlaskey
sundar@1824 | 1 | {"foo":42} |
sundar@1824 | 2 | [5,6,76,7] |
sundar@1824 | 3 | "hello" |
sundar@1824 | 4 | {"name":"nashorn","versions":["es5.1","es6"]} |
sundar@1824 | 5 | true |
sundar@1824 | 6 | {"x":42,"y":"hello"} |
sundar@1824 | 7 | "my json representation" |
sundar@1824 | 8 | "value from toJSON function" |
sundar@1824 | 9 | {"foo":"HELLO"} |