开发者

Parsing JSON using C? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 6 years ago.

开发者_如何学编程 Improve this question

There are several C libraries available for parsing JSON, that will compile on Linux. Which library would you recommend?


Just to close the loop:

For the project in question, we ended up going with cJSON. We chose this one from the list of C libraries linked from json.org. Per the homepage, cJSON is:

An ultra-lightweight, portable, single-file, simple-as-can-be ANSI-C compliant JSON parser, under MIT license.

This happened to be a good fit for the particular project at hand, and the library worked out fine.


I've seen YAJL used with MGTwitterEngine (Mac/Cocoa), so I assume it is ok.

I haven't done much with it apart from compiling it and pointing MGTwitterEngine on Mac to its library/header files.


Check out the list at json.org. There are several C libraries for JSON.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜