Closed alexiscreuzot closed 10 years ago
I'd like to save database content in serialized format. For now, using SBJSON, is get this error :
-JSONRepresentation failed. Error is: JSON serialisation not supported for <MyActiveRecordClass>
Is there a way to circumvent this?
Got it to work by overriding the - (id) proxyForJson method in my ActiveRecord subclass.
- (id) proxyForJson
Sorry... I forgot about this issue... >.<
I'd like to save database content in serialized format. For now, using SBJSON, is get this error :
-JSONRepresentation failed. Error is: JSON serialisation not supported for <MyActiveRecordClass>
Is there a way to circumvent this?