macOS
brew install json-gliblocal Homebrew formula metadata
sudo port install json-glibMacPorts ports tree · devel/json-glib/Portfile · 来源: api.github.com
安装
brew install json-gliblocal Homebrew formula metadata
sudo port install json-glibMacPorts ports tree · devel/json-glib/Portfile · 来源: api.github.com
sudo apk add json-glibAlpine Linux edge package indexes · json-glib · 来源: dl-cdn.alpinelinux.org
sudo dnf install json-glibFedora Rawhide package metadata · json-glib · 来源: dl.fedoraproject.org
nix profile install nixpkgs#json-glibnixpkgs package indexes · pkgs/by-name/js/json-glib/package.nix · 来源: api.github.com
sudo pacman -S json-glibArch Linux sync databases · json-glib · 来源: geo.mirror.pkgbuild.com
sudo apt install gir1.2-json-1.0Debian stable package indexes · gir1.2-json-1.0 · 来源: deb.debian.org
sudo zypper install json-glib-developenSUSE Tumbleweed package metadata · json-glib-devel · 来源: download.opensuse.org
概览
Library for JSON, based on GLib
历史
JSON-GLib is GNOME's GLib/GObject JSON parser and generator library, with small command-line tools for formatting and validating JSON. It matters because it made JSON feel native inside the C/GObject stack used by GTK and GNOME applications.
JSON-GLib was written by Emmanuele Bassi and is licensed under LGPL-2.1-or-later. The project documentation describes a DOM-like API for parsing and generating JSON plus GObject serialization and deserialization for GLib applications.
Early releases in 2007 established the parser, generator, and GObject deserialization work. Version 0.10.0 added more complete GObject and GBoxed serialization, insertion-order guarantees, and introspection data. Version 1.0 in 2014 stabilized the API generation, bumped the GLib dependency, and added command-line tools for validation and formatting.
Because JSON-GLib is part of the GNOME platform stack, it is packaged broadly across Linux distributions and also appears in Homebrew, MacPorts, Nix, and other package managers. Its GObject Introspection support made the same JSON library available to language bindings, not only to C applications.
Developers link against `json-glib-1.0`, include `json-glib/json-glib.h`, and use parser, generator, builder, reader, object, array, and node APIs. Packagers also ship `json-glib-format` and `json-glib-validate`, which provide quick command-line formatting and validation.
JSON-GLib is the package that tells you a desktop stack has JSON support at the platform-library layer. For packagers, it is a small but widely depended-on C library with GIR metadata, pkg-config files, command-line tools, and the usual GNOME release engineering expectations.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
json-glib-format | cli | 全局可执行文件 | |
json-glib-validate | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://wiki.gnome.org/Projects/JsonGlib
安装元数据
| 软件包键 | brew:json-glib |
|---|---|
| 版本 | 1.10.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/json-glib |
| 主页 | https://wiki.gnome.org/Projects/JsonGlib |
| 仓库 | https://gitlab.gnome.org/GNOME/json-glib |
| 上游文档 | https://gnome.pages.gitlab.gnome.org/json-glib |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://download.gnome.org/sources/json-glib/1.10/json-glib-1.10.8.tar.xz |
| 依赖 | gettext, glib |
| 构建依赖 | docutils, gettext, gobject-introspection, meson, ninja, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | json-glib |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gir1.2-json-1.0 1.10.6+ds-2
GLib JSON manipulation library (introspection data)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install gir1.2-json-1.0json-glib-tools 1.10.6+ds-2
GLib JSON manipulation library (tools)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install json-glib-toolslibjson-glib-1.0-0 1.10.6+ds-2
GLib JSON manipulation library
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install libjson-glib-1.0-0libjson-glib-1.0-common 1.10.6+ds-2
GLib JSON manipulation library (common files)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install libjson-glib-1.0-commonlibjson-glib-dev 1.10.6+ds-2
GLib JSON manipulation library (development files)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install libjson-glib-devlibjson-glib-doc 1.10.6+ds-2
GLib JSON manipulation library (documentation)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install libjson-glib-docjson-glib
nix profile install nixpkgs#json-glibgir1.2-json-1.0 1.8.0-2build2
GLib JSON manipulation library (introspection data)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install gir1.2-json-1.0json-glib-tools 1.8.0-2build2
GLib JSON manipulation library (tools)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install json-glib-toolslibjson-glib-1.0-0 1.8.0-2build2
GLib JSON manipulation library
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install libjson-glib-1.0-0libjson-glib-1.0-common 1.8.0-2build2
GLib JSON manipulation library (common files)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install libjson-glib-1.0-commonlibjson-glib-dev 1.8.0-2build2
GLib JSON manipulation library (development files)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install libjson-glib-devlibjson-glib-doc 1.8.0-2build2
GLib JSON manipulation library (documentation)
https://wiki.gnome.org/Projects/JsonGlib
sudo apt install libjson-glib-docjson-glib 1.10.8-r0
JSON library built on GLib
https://gitlab.gnome.org/GNOME/json-glib
sudo apk add json-glibjson-glib-dbg 1.10.8-r0
JSON library built on GLib (debug symbols)
https://gitlab.gnome.org/GNOME/json-glib
sudo apk add json-glib-dbgjson-glib-dev 1.10.8-r0
JSON library built on GLib (development files)
https://gitlab.gnome.org/GNOME/json-glib
sudo apk add json-glib-dev来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.