var ret = { '*object' : 'DocTag' };
for (var i in this) {
+ if (i == 'optvalues') {
+ ret[i] = this.optvalues;
+ continue;
+ }
+
switch (typeof(this[i])) {
case 'function':
continue;
case 'number':
case 'boolean':
ret[i] = this[i]; continue;
+
+
+
default:
- print("unknown type:" + typeof(this[i]));
+ print("unknown type: (" + i + ")" + typeof(this[i]));
+ this.toJSON = null;
print(JSON.stringify(this));;
Seed.quit();
}