author | erikj |
Tue, 12 Sep 2017 19:03:39 +0200 | |
changeset 47216 | 71c04702a3d5 |
parent 38483 | nashorn/test/script/basic/JDK-8157160.js.EXPECTED@84396baa1cb3 |
permissions | -rw-r--r-- |
38483
84396baa1cb3
8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff
changeset
|
1 |
{"foo":42} |
84396baa1cb3
8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff
changeset
|
2 |
[5,6,76,7] |
84396baa1cb3
8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff
changeset
|
3 |
"hello" |
84396baa1cb3
8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff
changeset
|
4 |
{"name":"nashorn","versions":["es5.1","es6"]} |
84396baa1cb3
8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff
changeset
|
5 |
true |
84396baa1cb3
8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff
changeset
|
6 |
{"x":42,"y":"hello"} |
84396baa1cb3
8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff
changeset
|
7 |
"my json representation" |
84396baa1cb3
8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff
changeset
|
8 |
"value from toJSON function" |
84396baa1cb3
8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff
changeset
|
9 |
{"foo":"HELLO"} |