This is a Demo about how to use JsopCpp .
Use it to read, write, parse json string.
build cmd:
in src directory,run this command:
-
g++ demo1.cpp -I ../include ./lib_json/libjsoncpp.a -std=c++11
However you can rebuild you libjsoncpp.a
In lib_jsoncpp directory, run this command:
-
cmake ./
-
make
https://github.com/open-source-parsers/jsoncpp
This is a Demo about how to build and link youself cpp Demo.
build cmd:
in root directory (uWebSocketDemo1),run this command:
-
cmake ./
-
make
The file in examples will be build and generator you binanry file.