SBJsonParser
@protocol SBJsonParser
@brief Options for the parser class.
This exists so the SBJSON facade can implement the options in the parser without having to re-declare them.
-
@brief Return the object represented by the given string.
Returns the object represented by the passed-in string or nil on error. The returned object can be a string, number, boolean, null, array or dictionary.
Declaration
Objective-C
- (id)objectWithString:(NSString *)repr;
Swift
func object(with repr: String!) -> Any!
Parameters
repr
the json string to parse