> On Sep 12, 2017, at 2:43 AM, dyowee <csharpenthusi...@gmail.com> wrote: > > So isValidJSONObject called as indicated here? > https://developer.apple.com/documentation/foundation/nsjsonserialization/1418461-isvalidjsonobject?language=objc > > <https://developer.apple.com/documentation/foundation/nsjsonserialization/1418461-isvalidjsonobject?language=objc>
No, that's the other direction — it's for preflighting generating JSON from objects. Not parsing. As I said, we don't preflight the JSON. We just call +[NSJSONSerialization JSONObjectWithData:error:] to parse it, and rely on it to return an error if the JSON is invalid. —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 mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/B4ECE677-A141-4815-8C5F-1610C831844B%40couchbase.com. For more options, visit https://groups.google.com/d/optout.