Ecere Software
/
sdk
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
documentor, ecere/sys/json: Addressed various issues with new eCON docs
[sdk]
/
ecere
/
src
/
sys
/
JSON.ec
diff --git
a/ecere/src/sys/JSON.ec
b/ecere/src/sys/JSON.ec
index
8310d1e
..
4e9052b
100644
(file)
--- a/
ecere/src/sys/JSON.ec
+++ b/
ecere/src/sys/JSON.ec
@@
-1487,7
+1487,7
@@
static bool WriteONObject(File f, Class objectType, void * object, int indent, b
}
else
{
- Class _class =
eCON
? ((Instance)object)._class : objectType;
+ Class _class =
(eCON && objectType.type == normalClass)
? ((Instance)object)._class : objectType;
Property prop;
int c;
bool isFirst = true;