forked from pkyeck/socket.IO-objc
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSocketIOJSONSerialization.h
More file actions
Latest commit
30 lines (26 loc) · 720 Bytes
/
Copy pathSocketIOJSONSerialization.h
File metadata and controls
30 lines (26 loc) · 720 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
//
// SocketIOJSONSerialization.h
// v0.22 ARC
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <fpotter@pieceable.com>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
//
#import<Foundation/Foundation.h>
@interfaceSocketIOJSONSerialization : NSObject
+ (id) objectFromJSONData:(NSData *)dataerror:(NSError **)error;
+ (NSString *) JSONStringFromObject:(id)objecterror:(NSError **)error;
@end