From 69297d7aa26ee44acac48dd9675c4bc3e1a4b745 Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Thu, 4 Aug 2016 08:54:54 -0400 Subject: [PATCH] ecere/sys/JSON: Fixed (de)serializing properties using base 'Container' class --- ecere/src/sys/JSON.ec | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 { }; -- 1.8.3.1