It would be too easy! import streams, nesm serializable: type TA = object of RootObj TB = object of TA f: int var a: ref TA b: ref TB new(b) a = b echo stringify(serialize(a)) lib/nim/system.nim(2833, 7) Error: unhandled exception: kind(thetype[1]) == nnkEmpty Inheritence not supported in serializable
- How to (de)serialize inherited object? c0ntribut0r
- Re: How to (de)serialize inherited object? mashingan
- Re: How to (de)serialize inherited object? c0ntribut0r
- Re: How to (de)serialize inherited object? c0ntribut0r
- Re: How to (de)serialize inherited object? c0ntribut0r