cJson的用法(一) -C語言解析/生成 json數據

cJson這個庫開源 跨平臺,用來解析和生成json數據很方便。項目地址:https://github.com/DaveGamble/cJSONgit 只須要把cJson.c,cJson.h拷進項目就ok.github 下面直接上代碼:json #include<stdio.h> #include<stdlib.h> #include"cJSON.h" int main() { /*******
相關文章
相關標籤/搜索