diff --git a/Foundation/CPArray/_CPArray.j b/Foundation/CPArray/_CPArray.j index 2832bba8d..5154a2400 100755 --- a/Foundation/CPArray/_CPArray.j +++ b/Foundation/CPArray/_CPArray.j @@ -874,7 +874,7 @@ var concat = Array.prototype.concat, { var index = 0, count = [self count], - description = "["; + description = "@["; for (; index < count; ++index) { diff --git a/Foundation/CPDictionary.j b/Foundation/CPDictionary.j index c2199e683..7c58ff1de 100755 --- a/Foundation/CPDictionary.j +++ b/Foundation/CPDictionary.j @@ -651,7 +651,7 @@ var key = keys[index], value = self.valueForKey(key); - string += " " + key + " = " + CPDescriptionOfObject(value).split("\n").join("\n ") + ";\n"; + string += " @\"" + key + "\": " + CPDescriptionOfObject(value).split("\n").join("\n ") + (index + 1 < count ? "," : "") + "\n"; } return string + "}";