22 lines
493 B
Objective-C
22 lines
493 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#if TARGET_OS_IPHONE
|
|
#import "DDXML.h"
|
|
#endif
|
|
|
|
@interface NSXMLElement (XEP_0335)
|
|
|
|
- (NSXMLElement *)JSONContainer;
|
|
|
|
- (BOOL)isJSONContainer;
|
|
- (BOOL)hasJSONContainer;
|
|
|
|
- (NSString *)JSONContainerString;
|
|
- (NSData *)JSONContainerData;
|
|
- (id)JSONContainerObject;
|
|
|
|
- (void)addJSONContainerWithString:(NSString *)JSONContainerString;
|
|
- (void)addJSONContainerWithData:(NSData *)JSONContainerData;
|
|
- (void)addJSONContainerWithObject:(id)JSONContainerObject;
|
|
|
|
@end
|