Automic VaultAutomic Vault

brew

Install json-glib with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Library for JSON, based on GLib. Version 1.10.8 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install json-glib

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install json-glib

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

Linux

Alpine Linux apkverified · 92%
sudo apk add json-glib

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

Debian aptverified · 92%
sudo apt install gir1.2-json-1.0

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

Fedora dnfverified · 92%
sudo dnf install json-glib

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

Nixverified · 92%
nix profile install nixpkgs#json-glib

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

Arch Linux pacmanverified · 92%
sudo pacman -S json-glib

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

openSUSE zypperverified · 92%
sudo zypper install json-glib-devel

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

overview

Package summary

Library for JSON, based on GLib

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 6 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
json-glib-formatcliglobal executable
json-glib-validatecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.10.8
manager updated
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:json-glib
Version1.10.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/json-glib
Homepagehttps://wiki.gnome.org/Projects/JsonGlib
Repositoryhttps://gitlab.gnome.org/GNOME/json-glib
Upstream docshttps://gnome.pages.gitlab.gnome.org/json-glib
LicenseLGPL-2.1-or-later
Source archivehttps://download.gnome.org/sources/json-glib/1.10/json-glib-1.10.8.tar.xz
Dependenciesgettext, glib
Build dependenciesdocutils, gettext, gobject-introspection, meson, ninja, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 optional deps
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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