HRCoder icon indicating copy to clipboard operation
HRCoder copied to clipboard

Aliasing flag

Open lucaskuzma opened this issue 11 years ago • 0 comments

It would be great to optionally disable the object aliasing feature. It makes any JSON or XML created with HRCoder incompatible with other parsers.

Moreover it throws an exception when nesting an instance of a class inside of another instance of the same class.

at Line 182 of HRCoder.m: _node = [node valueForKey:key];

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<MyCoolModel 0xeb6f800> valueForUndefinedKey:]: this class is not key value coding-compliant for the key NS.' *** First throw call stack:

lucaskuzma avatar May 15 '14 22:05 lucaskuzma