> On Aug 6, 2014, at 7:02 PM, Gee Bejoe <[email protected]> wrote:
> 
> I met such exception when I put a class with nested array objects
> e.g.
> Class A{
>   B b[];
> }

I'm not familiar with the JSON library being used in the Java implementation, 
but in most platforms you can't use your own classes like that, (at least not 
without providing extra metadata to tell the JSON library how to encode them.) 
You can only use existing types and classes that map directly to JSON, like 
arrays and strings and maps.

—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/F99144E8-C7B9-4F16-902A-D3ED597A49AE%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to