JSONKit icon indicating copy to clipboard operation
JSONKit copied to clipboard

Custom Objects automatic conversion to Json

Open andrefmsilva opened this issue 14 years ago • 1 comments

It would be great if custom objects can be mapped into JSON automatically. I've done this myself with an categorie for NSObject and using runtime Introspection, i can provide my code if wanted.

For mapping JSON strings in my custom objects i'm using https://github.com/MuhammadHewedy/ObjectMapper with some modifications and for now is working great! Parsing JSON to custom objects and create JSON from custom objects is much faster this way!!

andrefmsilva avatar Jan 04 '12 14:01 andrefmsilva

I've made a framework that does the same, but with some cons. Checkout https://github.com/dchohfi/KeyValueObjectMapping

dchohfi avatar May 19 '12 14:05 dchohfi