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.10 platform.
Download (HTTP): https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.1.tar.gz
Download MD5 sum: 55f7853f7d8cf664554ce3fa71bf1c7d
Download size: 524 KB
Estimated disk space required: 4.2 MB (add 3.0 MB for tests)
Estimated build time: less than 0.1 SBU (add 0.9 SBU for tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/json-c
![[Note]](../images/note.png) 
          This package does not support parallel build.
Install JSON-C by running the following commands:
sed -i s/-Werror// Makefile.in tests/Makefile.in && ./configure --prefix=/usr --disable-static && make -j1
To test the results, issue: make check.
          Now, as the root user:
        
make install
          sed ...: This
          instruction removes a flag that prevents one file from compiling.
        
          --disable-static: This
          switch prevents installation of static versions of the libraries.
        
Last updated on 2016-08-27 10:19:11 -0700