The json glib package is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format described by RFC 4627.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://download.gnome.org/sources/json-glib/1.10/json-glib-1.10.8.tar.xz
MD5 校验和:95c3d5dd56d4ada808480739889b75bc
大小:1.2 MB
预计所需磁盘空间:15 MB(含测试)
预计构建时间:0.1 SBU(含测试)
GLib-2.88.2 (GObject Introspection required if building GNOME)
Install json glib by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
If docutils-0.23 is installed, build the man pages:
meson configure -D man=true && ninja
If Gi-DocGen-2026.1 is installed, build the API documentation:
sed "/json_docdir =/s|$| / 'json-glib-1.10.8'|" -i ../doc/meson.build && meson configure -D documentation=enabled && ninja
To test the results, issue: ninja test. One test, node, is known to fail.
Now, as the root user:
ninja install
--buildtype=release:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D gtk_doc=disabled: Add this option if
you have GTK-Doc-1.36.1 installed and do not wish to
generate the API documentation.