Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 21 lines (16 sloc) 0.38 kb
62d4281 Maxthon Chan Modernized to iOS 6.1 SDK.
xcvista authored
1 //
2 // NSString+JSON.m
3 // git-phone
4 //
5 // Created by Maxthon Chan on 13-3-7.
6 //
7 //
8
9 #import "NSString+JSON.h"
10
11 @implementation NSString (JSON)
12
13 - (id)JSONValue
14 {
15 return [NSJSONSerialization JSONObjectWithData:[self dataUsingEncoding:NSUTF8StringEncoding]
16 options:0
17 error:NULL];
18 }
19
20 @end
Something went wrong with that request. Please try again.