Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

json解析,求解,版本cocos2d v3.3

$
0
0

@865497878 写道:

//json解析刚进入解析函数,运行下面两句代码,便出现以下错误
rapidjson::Document document;
document.Parse<0>(content.c_str());

rapidjson::GenericValue,rapidjson::MemoryPoolAllocator > = {data_={s={str=0x04ffd2f0 <字符串中的字符无效。> length=2 hashcode=2 } n={i={i=83874544 padding=0x011fee78 "\x2" } ...} ...} ...}
(document).stack_ {allocator_=0x094385d8 {chunkHead_=0x04ffcc90 {capacity=65536 size=1684 next=0x00000000 } chunk_capacity_=...} ...}
(document).parseError_ 0x00000000

帖子: 2

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>