SubDocument API for android

Hi, I want to develop an android app to change the content of a document from what this tutorial says:

DocumentFragment<Lookup> result = bucket

String subValue = result.content("sub.value", String.class);
boolean fruitsExist = result.content("fruits", Boolean.class);
boolean fooExist = bucket.exists("");

System.out.println(subValue + ", " +
  fruitsExist + ", " +

but android does not recognize Lookup symbol.
does SubDocument API exist for android?

The Android API is provided by Couchbase Lite and doesn’t necessarily have the same featureset. You may want to post to the Couchbase Lite category to inquire about this. It has a bit of a different API, and I don’t think SubDocument is supported there, but there may be an alternative approach.