Quantcast
Channel: Mobile - Couchbase Forums
Viewing all articles
Browse latest Browse all 1117

No support for actual JSON in couchbase lite Android?

$
0
0

I think I MUST be mistaken, but am unable to find a single reference for how to actually store a JSON string to couchbase lite on Android.

All I can find is a reference to creating strongly typed Document or MutableDocument objects and calling an endless morass of setters (setString, setInt, setX, etc). These are nearly completely useless, as I have documents that frequently contain tens or even HUNDREDS of properties, and the last thing I can afford to do is manually call tens or hundreds of setters, when I need exactly none of them, as I already have the JSON string that perfectly represents the document I want to store.

In other words, All I want to accomplish is creating a document from a JSON string. I expect this to be the very first method for constructing any document, but shockingly, I can find no evidence for its support.

Oh pretty please tell me I’ve missed something fundamental as this an absolute deal breaker for me.

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 1117

Trending Articles