如何通过 json post 发送 NSObject 类?
例子:
@interface TestClass : NSObject
@property (nonatomic,strong) NSString *Value1;
@property (nonatomic,strong) NSString *Value2;
@property (nonatomic,strong) NSString *Value1;
@end
在另一个实现 TestClass 的文件中:
TestClass *test = [[TestClass alloc]init];
test.Value1 = @"First";
test.Value2 = @"Second";
test.Value3 = @"Third";
......
如何发送测试对象?