Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 json-glib

查看 json-glib 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install json-glib

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install json-glib

MacPorts ports tree · devel/json-glib/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add json-glib

Alpine Linux edge package indexes · json-glib · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install json-glib

Fedora Rawhide package metadata · json-glib · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#json-glib

nixpkgs package indexes · pkgs/by-name/js/json-glib/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S json-glib

Arch Linux sync databases · json-glib · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install gir1.2-json-1.0

Debian stable package indexes · gir1.2-json-1.0 · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install json-glib-devel

openSUSE Tumbleweed package metadata · json-glib-devel · 来源: download.opensuse.org

概览

软件包摘要

Library for JSON, based on GLib

命令和别名

  • json-glib-format
  • json-glib-validate

历史

项目历史与用法

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.

时间线

  • 2007: JSON-GLib 0.4.0 is announced as a GObject-based C library for parsing and writing JSON streams.
  • 2010: JSON-GLib 0.10.0 adds broader serialization/deserialization support and introspection improvements.
  • 2011: JSON-GLib 0.12.0 adds JsonBuilder, JsonReader, stream APIs, surrogate-pair support, and a GObject-Introspection dependency.
  • 2014: JSON-GLib 1.0 is announced after years of 0.x development.
  • 2017: JSON-GLib 1.2 adds Meson build support and immutable JSON node support.
  • 2020: JSON-GLib 1.6 moves API reference generation to gi-docgen and adds `json-glib-format --output`.

Related projects

  • JSON-GLib is closely related to GLib, GObject, GIO, GObject Introspection, GTK, and GNOME applications. It occupies a different niche from json-c and Jansson by integrating JSON with the GObject type system and GLib data conventions.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 6 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
json-glib-formatcli全局可执行文件
json-glib-validatecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.10.8
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namejson-glib
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: json-glib
  • 3 依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-json-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

json-glib-tools 1.10.6+ds-2

GLib JSON manipulation library (tools)

https://wiki.gnome.org/Projects/JsonGlib

sudo apt install json-glib-tools
  • Section: devel
  • Architecture: amd64
  • Source Package: json-glib
  • 3 依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: json-glib-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libjson-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-0
  • Section: libs
  • Architecture: amd64
  • Source Package: json-glib
  • 3 依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libjson-glib-1.0-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libjson-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-common
  • Section: libs
  • Architecture: all
  • Source Package: json-glib
  • normalized package name match
  • 匹配方式:JSON Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libjson-glib-1.0-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libjson-glib-dev 1.10.6+ds-2

GLib JSON manipulation library (development files)

https://wiki.gnome.org/Projects/JsonGlib

sudo apt install libjson-glib-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: json-glib
  • 8 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libjson-glib-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libjson-glib-doc 1.10.6+ds-2

GLib JSON manipulation library (documentation)

https://wiki.gnome.org/Projects/JsonGlib

sudo apt install libjson-glib-doc
  • Section: doc
  • Architecture: all
  • Source Package: json-glib
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libjson-glib-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

json-glib

nix profile install nixpkgs#json-glib
  • normalized package name match
  • 匹配方式:JSON Glib
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/js/json-glib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gir1.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.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: json-glib
  • 3 依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-json-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

json-glib-tools 1.8.0-2build2

GLib JSON manipulation library (tools)

https://wiki.gnome.org/Projects/JsonGlib

sudo apt install json-glib-tools
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: json-glib
  • 3 依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: json-glib-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libjson-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-0
  • Section: libs
  • Architecture: amd64
  • Source Package: json-glib
  • 3 依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libjson-glib-1.0-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libjson-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-common
  • Section: libs
  • Architecture: all
  • Source Package: json-glib
  • normalized package name match
  • 匹配方式:JSON Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libjson-glib-1.0-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libjson-glib-dev 1.8.0-2build2

GLib JSON manipulation library (development files)

https://wiki.gnome.org/Projects/JsonGlib

sudo apt install libjson-glib-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: json-glib
  • 8 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libjson-glib-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libjson-glib-doc 1.8.0-2build2

GLib JSON manipulation library (documentation)

https://wiki.gnome.org/Projects/JsonGlib

sudo apt install libjson-glib-doc
  • Section: doc
  • Architecture: all
  • Source Package: json-glib
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libjson-glib-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

json-glib 1.10.8-r0

JSON library built on GLib

https://gitlab.gnome.org/GNOME/json-glib

sudo apk add json-glib
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: json-glib
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:JSON Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: json-glib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

json-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-dbg
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: json-glib
  • 1 依赖
  • normalized package name match
  • 匹配方式:JSON Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: json-glib-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

json-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
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: json-glib
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:JSON Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: json-glib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment