Index: src/json.js |
diff --git a/src/json.js b/src/json.js |
index 9ab1a31e59c1b0b25226160402b7ef9bfd804454..7818d9b14ab6466835a84845d6ac8fc154a03140 100644 |
--- a/src/json.js |
+++ b/src/json.js |
@@ -67,7 +67,7 @@ function SerializeArray(value, replacer, stack, indent, gap) { |
} |
var stepback = indent; |
indent += gap; |
- var partial = new InternalArray(); |
+ var partial = new InternalPackedArray(); |
var len = value.length; |
for (var i = 0; i < len; i++) { |
var strP = JSONSerialize($String(i), value, replacer, stack, |
@@ -97,7 +97,7 @@ function SerializeObject(value, replacer, stack, indent, gap) { |
} |
var stepback = indent; |
indent += gap; |
- var partial = new InternalArray(); |
+ var partial = new InternalPackedArray(); |
if (IS_ARRAY(replacer)) { |
var length = replacer.length; |
for (var i = 0; i < length; i++) { |