开发者

JSON Serialization in C

开发者 https://www.devze.com 2023-03-17 23:08 出处:网络
What is the best way to generate UTF-8 JSON in C? I\'ve looked at Jansson, but it seems extremely bulky. Is there any other good low-开发者_运维百科dependency library for creating and reading JSON obj

What is the best way to generate UTF-8 JSON in C? I've looked at Jansson, but it seems extremely bulky. Is there any other good low-开发者_运维百科dependency library for creating and reading JSON objects/strings in C?


Perhaps the JSON module from CCAN? http://ccodearchive.net/ It doesn't even depend on anything else from CCAN, and consists of exactly two files json.c and json.h

(The JSON module is here http://git.ozlabs.org/?p=ccan;a=tree;f=ccan/json )

0

精彩评论

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