forked from scrod/nv
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNSArray+BSJSONAdditions.h
executable file
·34 lines (29 loc) · 1.14 KB
/
NSArray+BSJSONAdditions.h
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
32
33
34
//
// BSJSONAdditions
//
// Created by Blake Seely on 2009/03/24.
// Copyright 2006 Blake Seely - http://www.blakeseely.com All rights reserved.
// Permission to use this code:
//
// Feel free to use this code in your software, either as-is or
// in a modified form. Either way, please include a credit in
// your software's "About" box or similar, mentioning at least
// my name (Blake Seely).
//
// Permission to redistribute this code:
//
// You can redistribute this code, as long as you keep these
// comments. You can also redistribute modified versions of the
// code, as long as you add comments to say that you've made
// modifications (keeping these original comments too).
//
// If you do use or redistribute this code, an email would be
// appreciated, just to let me know that people are finding my
// code useful. You can reach me at blakeseely@mac.com
#import <Foundation/Foundation.h>
#import "NSDictionary+BSJSONAdditions.h"
@interface NSArray (BSJSONAdditions)
+ (NSArray *)arrayWithJSONString:(NSString *)jsonString;
- (NSString *)jsonStringValue;
- (NSString *)jsonStringValueWithIndentLevel:(NSInteger)level;
@end