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

### Chapter 9. General Libraries

- Prev

  JSON-C-0.15

- Next

  keyutils-1.6.1

- Up
- Home

# JSON-GLib-1.6.2

## 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-10.1 platform.

### Package Information

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

- Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/json-glib/1.6/json-glib-1.6.2.tar.xz

- Download MD5 sum: 7a981956939e21f78b560ac1ea57f2d7

- Download size: 168 KB

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

- Estimated build time: 0.1 SBU (with tests)

### JSON-GLib Dependencies

#### Required

GLib-2.66.7

#### Optional (Required if building GNOME)

gobject-introspection-1.66.1

#### Optional

GTK-Doc-1.33.2

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/json-glib

## Installation of JSON GLib

Install JSON GLib by running the following commands:

    mkdir build &&
    cd    build &&

    meson --prefix=/usr .. &&
    ninja

To test the results, issue: ninja test.

Now, as the `root` user:

    ninja install

## Contents

Installed Programs: json-glib-format and json-glib-validate
Installed Library: libjson-glib-1.0.so
Installed Directories: /usr/{include,share/installed-tests}/json-glib-1.0, /usr/libexec/installed-tests/json-glib-1.6.2, 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

Last updated on 2021-02-21 11:05:24 -0800

- Prev

  JSON-C-0.15

- Next

  keyutils-1.6.1

- Up
- Home