JSON-C-0.12

Introduction to JSON-C

The JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

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

Installation of JSON-C

[Note]

Note

This package does not support parallel build.

Install JSON-C by running the following commands:

sed -i s/-Werror// Makefile.in             &&
./configure --prefix=/usr --disable-static &&
make -j1

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed ...: This instruction removes a flag that prevents one file from compiling.

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: None
Installed Libraries: libjson-c.so and libjson.so
Installed Directories: /usr/include/json and /usr/include/json-c

Short Descriptions

libjson.so

contains the JSON-C API functions.

libjson-c.so

contains the JSON-C API functions.

Last updated on 2014-08-23 17:21:29 -0700