couchbaselabs/CouchCocoa — pull request #79 by mattbond (2014-10-13 09:19:23+00:00)
Title: Incorrect flag passed

A NSJSONReadingOptions was being passed to NSJSONSerialization dataWithJSONObject instead of a NSJSONWritingOptions constant.
The only NSJSONWritingOptions constant available is NSJSONWritingPrettyPrinted which does not make sense for productive code so I have passed zero.
See: https://developer.apple.com/library/ios/DOCUMENTATION/Foundation/Reference/NSJSONSerialization_Class/index.html#//apple_ref/c/tdef/NSJSONWritingOptions