I have a document that contains a embedded document . 

Lets say document has following structure 
{ username: "john", name: "John Crouch", address: { "city": "Fortworth", 
"state": "Texas", "country": "United States" }, phone: "3594584" }


Document.Properties gives me A Dictionary<string , objects> so to access 
address inner properties I have do a typecast of Document.Properties["address"] 
. but I tried casting this as IDictionary<string , object > and Document 
which throws a typeCast exception .


However in Java I am able to cast inner document as (Map<String 
,Object>)document.get("address")) .

-- 
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/40a5cf07-6fd5-4e6f-940e-fcadcf88d98b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to