JSON-GLib-1.8.0

#### Beyond Linux® From Scratch (systemd Edition) - Version 12.2

### Chapter 9. General Libraries

- Prev

  JSON-C-0.17

- Next

  keyutils-1.6.3

- Up
- Home

# JSON-GLib-1.8.0

## Introduction to JSON GLib

The JSON GLib package is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format described by RFC 4627.

This package is known to build and work properly using an LFS 12.2 platform.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/json-glib/1.8/json-glib-1.8.0.tar.xz

- Download MD5 sum: f1aac2b8a17fd68646653cc4d8426486

- Download size: 156 KB

- Estimated disk space required: 7.8 MB (with tests)

- Estimated build time: 0.2 SBU (with tests)

### JSON-GLib Dependencies

#### Required

GLib-2.80.4 (GObject Introspection required if building GNOME)

#### Optional

GTK-Doc-1.34.0

## Installation of JSON GLib

Install JSON GLib by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release .. &&
    ninja

To test the results, issue: ninja test.

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

`-D gtk_doc=disabled`: Add this option if you have GTK-Doc-1.34.0 installed and do not wish to generate the API documentation.

## Contents

Installed Programs: json-glib-format and json-glib-validate
Installed Library: libjson-glib-1.0.so
Installed Directories: /usr/{include,libexec,share{,/installed-tests}/json-glib-1.0} and /usr/share/gtk-doc/html/json-glib

### Short Descriptions

json-glib-format | is a simple command line interface to format JSON data
json-glib-validate | is a simple command line interface to validate JSON data
`libjson-glib-1.0.so` | contains the JSON GLib API functions

- Prev

  JSON-C-0.17

- Next

  keyutils-1.6.3

- Up
- Home