//
//  ApptentiveJSONSerialization.h
//  Apptentive
//
//  Created by Andrew Wooster on 6/22/13.
//  Copyright (c) 2013 Apptentive, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

extern NSInteger ApptentiveJSONDeserializationErrorCode;

@interface ApptentiveJSONSerialization : NSObject

+ (NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error;
+ (id)JSONObjectWithData:(NSData *)data error:(NSError **)error;

@end

//
//  ApptentiveJSONSerialization.h
//  Apptentive
//
//  Created by Andrew Wooster on 6/22/13.
//  Copyright (c) 2013 Apptentive, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

extern NSInteger ApptentiveJSONDeserializationErrorCode;
extern NSInteger ApptentiveJSONSerializationErrorCode;


@interface ApptentiveJSONSerialization : NSObject

+ (NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error;
+ (id)JSONObjectWithData:(NSData *)data error:(NSError **)error;

@end

Add serialization error code extern
Add serialization error code extern
