Skip to content
A BSON serialization library for Objective-C
Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BSON
BSONTests
ObjectiveBSON.xcodeproj
.gitignore
LICENSE
README.md

README.md

ObjectiveBSON

A small library that provides BSON serialization methods for Mac or iOS applications.

Usage

Copy BSONSerialization.h and BSONSerialization.m to your project.

Calling [NSData BSONValue] on an NSData object containing BSON data returns an NSDictionary with the deserialized BSON data.

Calling [NSDictionary BSONRepresentation] returns an NSData with the serialized BSON data.

Alternatively, [NSDictionary dictionaryFromBSONBytes:(char*)] may be used if you only have access to a char[] containing the BSON data.

You can’t perform that action at this time.