Index: src/json.js |
diff --git a/src/json.js b/src/json.js |
index cc7fd7c662fd55f40c865f0d86a82389f0dc5fdb..9ab1a31e59c1b0b25226160402b7ef9bfd804454 100644 |
--- a/src/json.js |
+++ b/src/json.js |
@@ -215,4 +215,12 @@ function SetUpJSON() { |
)); |
} |
+ |
+function JSONSerializeAdapter(key, object) { |
+ var holder = {}; |
+ holder[key] = object; |
+ // No need to pass the actual holder since there is no replacer function. |
+ return JSONSerialize(key, holder, void 0, new InternalArray(), "", ""); |
+} |
+ |
SetUpJSON(); |