From 35907223e11010e89dee11d48c7fdeecd491bc8f Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sat, 4 Nov 2017 13:39:58 +0100 Subject: [PATCH] README: Explain including cJSON, fix #211 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 161ab17..deb6210 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,13 @@ make all If you want, you can install the compiled library to your system using `make install`. By default it will install the headers in `/usr/local/include/cjson` and the libraries in `/usr/local/lib`. But you can change this behavior by setting the `PREFIX` and `DESTDIR` variables: `make PREFIX=/usr DESTDIR=temp install`. +### Including cJSON +If you installed it via the CMake or the Makefile, you can include cJSON like this: + +```c +#include +``` + ### Some JSON: ```json