summaryrefslogtreecommitdiffstats
path: root/Classes/Source/Experimental/CJSONSerializedData.h
blob: 4bba1be220a6ef04e4114cf35b65b503a44b800a (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
//
//  CJSONSerializedData.h
//  TouchMetricsTest
//
//  Created by Jonathan Wight on 10/31/10.
//  Copyright 2010 toxicsoftware.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol CJSONSerializable <NSObject>
@property (readonly, nonatomic, retain) NSData *serializedJSONData;
@end

#pragma mark -

@interface CJSONSerializedData : NSObject <CJSONSerializable> {
    NSData *data;
}

@property (readonly, nonatomic, retain) NSData *data;

- (id)initWithData:(NSData *)inData;

@end