> On Jan 27, 2015, at 3:18 AM, Guofeng Zhang <[email protected]> wrote:
> 
> The User can be converted to JSON, so I think the following should work well, 
> right?

I don’t know. I think you’re assuming the encoder will use Java reflection to 
look through an object’s instance variables and encode the object as a JSON 
dictionary? I don’t know enough about the Java implementation to know whether 
it’ll do that. I do know that the Objective-C JSON encoder will not.

Did you try it? Did it work? Hopefully one of the people who works on the Java 
implementation can answer more definitively.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/16D9A1AE-5547-453B-9028-5D107C5B6C6E%40mooseyard.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to