繁体   English   中英

NSMutableDictionary的JSONRepresentation

[英]JSONRepresentation for NSMutableDictionary

我想在NSMutableDictionary对象上调用JSONRepresentation方法。 我用[userDict JSONRepresentation];调用它[userDict JSONRepresentation]; ,但我收到以下警告:

NSMutableDictionary may not responsd to '-JSONRepresentation'

谁能告诉我如何在NSMutableDictionary类型的对象上正确调用JSONRepresentation方法?

提前致谢。

JSONRepresentation方法来自json-framework 在项目中包含该框架并导入正确的标题,您应该很高兴。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM