如何阅读.JSON文件 [英] How to read .JSON file

查看:98
本文介绍了如何阅读.JSON文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





有人可以分享如何阅读C中的.JSON文件并亲切地分享一个例子以便更好地理解。



最终目标是读取.json文件并仅显示其中的字符串值。

Hi,

Can somebody share how to read a .JSON file in C and kindly share an example for better understanding.

The ultimate goal is to read a .json file and display only the string values in it.

推荐答案

不要重新发明< a href =https://github.com/miloyip/rapidjson> wheel [ ^ ]:)
don't reinvent the wheel[^] :)


那是一个。



这是824!



https://github.com/search?utf8=%E2%9C%93&q=json+C%2B%2B&type=Repositories&ref=searchresults [ ^ ]



8 ^ P
That was one.

Here's 824!

https://github.com/search?utf8=%E2%9C%93&q=json+C%2B%2B&type=Repositories&ref=searchresults[^]

8^P


这篇关于如何阅读.JSON文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆