So, the blog here explains how to create non json documents on the server side. After it gets sync’ed to couchbase lite, how can the non-json document be read?
public Document getDocument(String id) in the
Database class returns a
Document object. The
Document object expects a
key in all its APIs but obviously non-json documents doesn’t have a
APIs are available here