Reputation: 13
strcpy(this->encoding, jsonvalue.get("encoding", "").asCString());
I need to work with json data in my program, yesterday i downloaded it using nuGet, coded all i needed, commented path to jsoncpp.lib
but system doesnt allow me to start the program due to missing jsoncpp.dll
. Does this mean i need to take the dll everywhere with my program? If so, im not happy with that so can i solve this? Or if its impossible, which json libraries that doesnt require dll can i use ?
Upvotes: 0
Views: 3739
Reputation: 18297
Please use the latest source-code. The project has moved to GitHub. cmake
would probably solve your problem.
Upvotes: 0
Reputation: 3658
jsoncpp.cpp
to your project#define JSON_IS_AMALGAMATION
in json.h
#include "json/json.h"
at the beginning of your source codeUpvotes: 4