C / JSON库中流行的Linux发行版? [英] C / JSON Library in popular Linux distros?

查看:142
本文介绍了C / JSON库中流行的Linux发行版?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用C写的,超过当地域套接字具有输入和输出的JSON的程序。我已经发现了几个C / JSON库,通过搜索几乎工作。在此之前服用,我发现..我想确保我不是在看的一个库,是现代Linux发行版中常见的图书馆之一。

I have a program written in C that has to input and output JSON over a local domain socket. I've found several C / JSON libraries that 'almost work' through searches. Prior to taking one of the libraries that I found .. I want to be sure that I'm not over-looking a library that is commonly found on modern Linux distros.

我也真想AP preciate链接到你使用的库。最有可能的,我就砸在树上,除非我意识到,我过来看了一些分布广泛。

I'd also really appreciate links to libraries that you use. Most likely, I'll just drop it in tree, unless I realize that I've over looked something widely distributed.

我这个标签作为主观的,因为我选择的答案是一个链接到我工作的图书馆,这并不意味着它的'最好'库。

I am tagging this as subjective because the answer that I select is the one linking to a library that works for me, that does not mean its the 'best' library.

我想利用现有阵列和容易将其转换为可发送的缓冲器,或采取一个缓冲器并容易将其转换成一个已分配的阵列

I want to take an existing array and easily convert it to a buffer that can be sent, or take a buffer and easily convert it into an allocated array.

在此先感谢!

推荐答案

JSON-油嘴似乎是在仓库的大部分分布,我没有用它,所以我不能以它的质量和稳定性说话。

json-Glib seems to be in the repositories for most distributions, I have not used it, so I cant speak as to its quality or stability.

这篇关于C / JSON库中流行的Linux发行版?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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