Introduction to Jansson

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



Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

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 &&

To test the results, issue: make check.

Now, as the root user:

make install


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

Short Descriptions


contains an API for encoding, decoding, and manipulating JSON data