RLMBSON

Objective-C

@protocol RLMBSON

Swift

protocol RLMBSON

Protocol representing a BSON value. BSON is a computer data interchange format. The name “BSON” is based on the term JSON and stands for “Binary JSON”.

The following types conform to RLMBSON:

NSNull NSNumber NSString NSData NSDateInterval NSDate RLMObjectId RLMDecimal128 NSRegularExpression RLMMaxKey RLMMinKey NSDictionary NSArray NSUUID

See

RLMBSONType

See

bsonspec.org
  • The BSON type for the conforming interface.

    Declaration

    Objective-C

    @property (readonly) RLMBSONType bsonType;
  • Whether or not this BSON is equal to another.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id _Nullable)other;

    Swift

    func isEqual(_ other: Any?) -> Bool

    Parameters

    other

    The BSON to compare to