nathanday / ndjson

Objective-C JSON parser
1 stars 0 forks source link

Add json:foundNumber: delegate method #28

Closed nathanday closed 11 years ago

nathanday commented 12 years ago

A lot of the time instead of doubles or longs we want an NSNumber object instead (this is what NDJSONParser uses to call setValue:forKey:), adding this method will also make it possible to use NSDecimmalNumber for numbers that can not be represented by float or long, which is required to support JSON correctly