# json-glib を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

json-glib のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:json-glib
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install json-glib
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install json-glib
```

  証拠: MacPorts ports tree: devel/json-glib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add json-glib
```

  証拠: Alpine Linux edge package indexes: json-glib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install json-glib
```

  証拠: Fedora Rawhide package metadata: json-glib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#json-glib
```

  証拠: nixpkgs package indexes: pkgs/by-name/js/json-glib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S json-glib
```

  証拠: Arch Linux sync databases: json-glib from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install gir1.2-json-1.0
```

  証拠: Debian stable package indexes: gir1.2-json-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install json-glib-devel
```

  証拠: openSUSE Tumbleweed package metadata: json-glib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:json-glib
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.10.8
- **ソース概要:** Library for JSON, based on GLib
- **ホームページ:** <https://wiki.gnome.org/Projects/JsonGlib>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- json-glib-format (エイリアス)
- json-glib-validate (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.10.8
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://gitlab.gnome.org/GNOME/json-glib>
- <https://gitlab.gnome.org/GNOME/json-glib/-/blob/master/NEWS>
- <https://gitlab.gnome.org/GNOME/json-glib/-/blob/master/README.md>
- <https://gnome.pages.gitlab.gnome.org/json-glib>
- <https://groups.google.com/g/mailing.gnome.announce/c/JoqnaR9gA7s>
- <https://lwn.net/Articles/258532/>
- <https://wiki.gnome.org/Projects/JsonGlib>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - gir1.2-json-1.0 - 1.10.6+ds-2: normalized package name match | Debian stable package indexes: gir1.2-json-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GLib JSON manipulation library (introspection data) | https://wiki.gnome.org/Projects/JsonGlib
- Debian apt - json-glib-tools - 1.10.6+ds-2: normalized package name match | Debian stable package indexes: json-glib-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GLib JSON manipulation library (tools) | https://wiki.gnome.org/Projects/JsonGlib
- Debian apt - libjson-glib-1.0-0 - 1.10.6+ds-2: normalized package name match | Debian stable package indexes: libjson-glib-1.0-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GLib JSON manipulation library | https://wiki.gnome.org/Projects/JsonGlib
- Debian apt - libjson-glib-1.0-common - 1.10.6+ds-2: normalized package name match | Debian stable package indexes: libjson-glib-1.0-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GLib JSON manipulation library (common files) | https://wiki.gnome.org/Projects/JsonGlib
- Debian apt - libjson-glib-dev - 1.10.6+ds-2: normalized package name match | Debian stable package indexes: libjson-glib-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GLib JSON manipulation library (development files) | https://wiki.gnome.org/Projects/JsonGlib
- Debian apt - libjson-glib-doc - 1.10.6+ds-2: normalized package name match | Debian stable package indexes: libjson-glib-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GLib JSON manipulation library (documentation) | https://wiki.gnome.org/Projects/JsonGlib
- Nix - json-glib: normalized package name match | 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 apt - gir1.2-json-1.0 - 1.8.0-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-json-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GLib JSON manipulation library (introspection data) | https://wiki.gnome.org/Projects/JsonGlib
- Ubuntu apt - json-glib-tools - 1.8.0-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: json-glib-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GLib JSON manipulation library (tools) | https://wiki.gnome.org/Projects/JsonGlib
- Ubuntu apt - libjson-glib-1.0-0 - 1.8.0-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libjson-glib-1.0-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GLib JSON manipulation library | https://wiki.gnome.org/Projects/JsonGlib
- Ubuntu apt - libjson-glib-1.0-common - 1.8.0-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libjson-glib-1.0-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GLib JSON manipulation library (common files) | https://wiki.gnome.org/Projects/JsonGlib
- Ubuntu apt - libjson-glib-dev - 1.8.0-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libjson-glib-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GLib JSON manipulation library (development files) | https://wiki.gnome.org/Projects/JsonGlib
- Ubuntu apt - libjson-glib-doc - 1.8.0-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libjson-glib-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GLib JSON manipulation library (documentation) | https://wiki.gnome.org/Projects/JsonGlib
- apk - json-glib - 1.10.8-r0: normalized package name match | Alpine Linux edge package indexes: json-glib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | JSON library built on GLib | https://gitlab.gnome.org/GNOME/json-glib
- apk - json-glib-dbg - 1.10.8-r0: normalized package name match | Alpine Linux edge package indexes: json-glib-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | JSON library built on GLib (debug symbols) | https://gitlab.gnome.org/GNOME/json-glib
- apk - json-glib-dev - 1.10.8-r0: normalized package name match | Alpine Linux edge package indexes: json-glib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | JSON library built on GLib (development files) | https://gitlab.gnome.org/GNOME/json-glib


## Combined YAML source

View the package source record on GitHub. [combined/json-glib.yml](https://github.com/mxcl/pkgdb/blob/main/combined/json-glib.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
