What's the correct way to map these server response variants?

4 views
Skip to first unread message

shyamh

unread,
Sep 13, 2011, 7:26:12 PM9/13/11
to res...@googlegroups.com
See sample code in this Gist 

Thanks

shyamh

unread,
Sep 14, 2011, 1:51:20 PM9/14/11
to RestKit
Here's a better description of the problem. Actual code samples are in
the gist at https://gist.github.com/1215427

/*
* What is the correct way to map the following server response
variants, and
* is there a preferred option?
*
* Also, keeping in mind that these responses can represent nested
objects that need to
* be mapped to corresponding object hierarchies on the client side. I
can give more
* examples of that if needed.
*
* Finally, the client side is core-data, so the mappings are managed
object mappings.
*
*/

Reply all
Reply to author
Forward
0 new messages