We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d811c3 commit 0e524abCopy full SHA for 0e524ab
src/extensions/jwArray/index.js
@@ -121,7 +121,7 @@ class Extension {
121
vm.jwArray = jwArray
122
vm.runtime.registerSerializer( //this basically copies variable serialization
123
"jwArray",
124
- v => JSON.stringify(v.array.map(w => {
+ v => v.array.map(w => {
125
if (typeof w == "object" && w != null && w.customId) {
126
return {
127
customType: true,
@@ -130,8 +130,8 @@ class Extension {
130
};
131
}
132
return w
133
- })),
134
- v => new jwArray.Type(JSON.parse(v).map(w => {
+ }),
+ v => new jwArray.Type(v.map(w => {
135
if (typeof w == "object" && w != null && w.customType) {
136
return vm.runtime.serializers[w.typeId].deserialize(w.serialized)
137
0 commit comments