-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathJsonElement.h
More file actions
37 lines (30 loc) · 819 Bytes
/
JsonElement.h
File metadata and controls
37 lines (30 loc) · 819 Bytes
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
35
36
37
//
// JsonElement.h
// VisualJSON
//
// Created by youknowone on 11. 12. 12..
// Copyright (c) 2011 youknowone.org. All rights reserved.
//
#import <Foundation/Foundation.h>
/*!
@brief JSON data to representation converter
JsonElement get parsed NSArray or NSDictionary data as JSON data.
JsonElement provides representation for data for each view type.
*/
@interface JsonElement : NSObject {
id _parent;
id _object;
id _key;
id _keys;
id _children;
}
@property(assign) id parent;
@property(retain) id object;
@property(retain) NSString *key;
@property(retain) NSArray *keys;
@property(retain) NSMutableDictionary *children;
- (id)initWithObject:(id)object;
+ (id)elementWithObject:(id)object;
- (id)childAtIndex:(NSInteger)index;
- (NSString *)outlineDescription;
@end