JSON-C-0.11

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.5 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:

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

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--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-02-25 04:04:57 -0800