jansson
1.1、jansson简介
是什么 ?:C library for encoding, decoding, and manipulating JSON
开发语言:C
官方主页:http://www.digip.org/jansson
源码仓库:https://github.com/akheron/jansson
1.2、通过包管理器安装jansson
操作系统包管理器安装命令
Allvcpkg
vcpkg install jansson
vcpkg install jansson:x64-osx
vcpkg install jansson:x64-linux
vcpkg install jansson:x64-windows
macOSHomeBrewbrew install jansson
GNU/LinuxHomeBrewbrew install jansson
aptsudo apt-get install -y janssonc
CentOSyumsudo yum install -y jansson
dnfsudo dnf install -y jansson
openSUSEzyppersudo zypper install -y jansson
Alpine Linuxapksudo apk add jansson

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm jansson
Gentoo LinuxPortagesudo emerge jansson
1.3、通过编译源码安装jansson
1.4、jansson中包含的头文件
1.5、jansson中包含的库文件
  • libjansson.{a | so | dylib}