How to include cJSON library in the project.

Hi,

I am new to the NRF boards and I want to include the cJSON library into my project code. I am going to get some data from another device using in the cJSON format and I want to interpret and process that data. After data processing I need to send status data back to the sender in the JSON format. 

I am trying to include  "CONFIG_CJSON_LIB=y" into the prj.conf and after that including the #include <cJSON.h> in the main.c file.

I am not sure what exactly I am missing?

Parents Reply Children
Related