#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 9. General Libraries

- Prev

  inih-58

- Next

  JSON-C-0.18

- Up
- Home

# Jansson-2.14

## Introduction to Jansson

The Jansson package contains a library used to encode, decode, and manipulate JSON data.

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

### Package Information

- Download (HTTP): https://github.com/akheron/jansson/releases/download/v2.14/jansson-2.14.tar.bz2

- Download MD5 sum: 3f90473d7d54ebd1cb6a2757396641df

- Download size: 424 KB

- Estimated disk space required: 5.6 MB (add 1.9 MB for tests)

- Estimated build time: 0.1 SBU (with tests)

## Installation of Jansson

First fix one of the tests:

    sed -e "/DT/s;| sort;| sed 's/@@libjansson.*//' &;" \
        -i test/suites/api/check-exports

Install jansson by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Contents

Installed Programs: None
Installed Library: libjansson.so
Installed Directories: None

### Short Descriptions

`libjansson.so` | contains an API for encoding, decoding, and manipulating JSON data

- Prev

  inih-58

- Next

  JSON-C-0.18

- Up
- Home