pkg.sopackage field notes

brew / rank 629

Install json-glib with Homebrew

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

provider-native install command

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 bottle metadata was recorded.

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-formatexecutableindexed executableDiscovered from the local executable index.
json-glib-validateexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version1.10.8
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:json-glib
Version1.10.8
Package managerHomebrew
Homepagehttps://wiki.gnome.org/Projects/JsonGlib
Bottlenot recorded
Servicenone declared

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
  • curated package history
  • pkgdb category and tag curation