From: Jerome St-Louis Date: Thu, 4 Aug 2016 12:54:54 +0000 (-0400) Subject: ecere/sys/JSON: Fixed (de)serializing properties using base 'Container' class X-Git-Tag: 0.44.15~20 X-Git-Url: http://ecere.com/cgi-bin/gitweb.cgi?p=sdk;a=commitdiff_plain;h=69297d7aa26ee44acac48dd9675c4bc3e1a4b745 ecere/sys/JSON: Fixed (de)serializing properties using base 'Container' class --- diff --git a/ecere/src/sys/JSON.ec b/ecere/src/sys/JSON.ec index a813a81..036d683 100644 --- 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 { };