summaryrefslogtreecommitdiff
path: root/Volta/Additions/KGJSON/KGJSON.h
blob: e2bc2c8906e6ad0c59b4058ab5ceed82205b1df8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
//  NSString+KGJSON.h
//  KGJSON
//
//  Created by David Keegan on 10/16/12.
//  Copyright (c) 2012 David Keegan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString(KGJSON)

- (id)JSONObject;
+ (NSString *)JSONString:(id)object;
+ (NSString *)prettyJSONString:(id)object;

@end

@interface NSDictionary(KGJSON)

- (NSString *)JSONString;
- (NSString *)prettyJSONString;

@end

@interface NSArray(KGJSON)

- (NSString *)JSONString;
- (NSString *)prettyJSONString;

@end