Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc4d0e
)
ecere/sys/JSON: Fixed (de)serializing properties using base 'Container' class
author
Jerome St-Louis
<jerome@ecere.com>
Thu, 4 Aug 2016 12:54:54 +0000
(08:54 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 4 Aug 2016 12:54:54 +0000
(08:54 -0400)
ecere/src/sys/JSON.ec
patch
|
blob
|
history
diff --git
a/ecere/src/sys/JSON.ec
b/ecere/src/sys/JSON.ec
index
a813a81
..
036d683
100644
(file)
--- a/
ecere/src/sys/JSON.ec
+++ b/
ecere/src/sys/JSON.ec
@@
-766,6
+766,18
@@
private:
}
}
}
+ if(type && type.templateClass && type.templateClass == class(Container))
+ {
+ char * br = strchr(type.fullName, '<');
+ if(br)
+ {
+ char className[1024];
+ strcpy(className, "Array");
+ strcat(className, br);
+ type = superFindClass(className, objectType.module);
+ }
+ }
+
// Find Member in Object Class
{
DataValue value { };