Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 380 Bytes
//
// NSString+JSON.m
// git-phone
//
// Created by Maxthon Chan on 13-3-7.
//
//
#import "NSString+JSON.h"
@implementation NSString (JSON)
- (id)JSONValue
{
return [NSJSONSerialization JSONObjectWithData:[self dataUsingEncoding:NSUTF8StringEncoding]
options:0
error:NULL];
}
@end