+2015-08-30 Yusuke Suzuki <utatane.tea@gmail.com>
+
+ [ES6] JSON.stringify should ignore object properties that have symbol values and convert the symbol values in array to null
+ https://bugs.webkit.org/show_bug.cgi?id=148628
+
+ Reviewed by Saam Barati.
+
+ As per ECMA262 6.0,
+
+ 1. JSON.stringify should ignore object properties that have symbol values.
+
+ SerializeJSONProperty[1] will return undefined if the value of the property is a symbol.
+ In this case, SerializeJSONObject[2] does not append any string for this property.
+
+ 2. JSON.stringify should convert the symbol values in array to null
+
+ As the same to the object case, SerializeJSONProperty will return undefined if the value of the property is a symbol.
+ But in the case of arrays, if the result of SerializeJSONProperty is undefined, it will emit "null"[3].
+ This behavior is already implemented in the existing JSON.stringify. Added tests to ensure that.
+
+ [1]: http://www.ecma-international.org/ecma-262/6.0/#sec-serializejsonproperty
+ [2]: http://www.ecma-international.org/ecma-262/6.0/#sec-serializejsonobject
+ [3]: http://www.ecma-international.org/ecma-262/6.0/#sec-serializejsonarray
+
+ * runtime/JSONObject.cpp:
+ (JSC::unwrapBoxedPrimitive):
+ (JSC::Stringifier::appendStringifiedValue):
+ (JSC::Stringifier::Holder::appendNextProperty):
+ * tests/stress/symbol-with-json.js:
+ (shouldBe):
+