Couchbase Lite
Objective-C API for iOS and Mac OS
Instance Methods | List of all members
CBLLazyArrayOfJSON Class Reference

Wrapper for an NSArray of JSON data, that avoids having to parse the data if it's not used. More...

#import <CBLJSON.h>

Inheritance diagram for CBLLazyArrayOfJSON:

Instance Methods

(instancetype) - initWithMutableArray:
 Initialize a lazy array. More...
 

Detailed Description

Wrapper for an NSArray of JSON data, that avoids having to parse the data if it's not used.

NSData objects in the array will be parsed into native objects before being returned to the caller from -objectAtIndex.

Method Documentation

- (instancetype) initWithMutableArray: (NSMutableArray *)  array

Initialize a lazy array.

Parameters
arrayAn NSArray of NSData objects, each containing JSON.

The documentation for this class was generated from the following file: