Registry / serialization / jsoncpp

jsoncpp

JSON →
library1.9.6vcpkgunverified

C++ library for manipulating JSON values, including serialization and deserialization to and from strings, with optional comment preservation.

vcpkg install jsoncpp
INSTALL
IMPORT
SIG · JSONCPP
J
jsoncpp
serializationcppv1.9.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

json/json.h
#include <json/json.h>

Create a JSON object and serialize it to a string.

#include <json/json.h> #include <iostream> int main() { Json::Value root; root["name"] = "John"; root["age"] = 30; std::cout << root.toStyledString() << std::endl; return 0; }
Debug
Known issues
gotchaJsonCpp has two CMake targets: jsoncpp_lib (static) and jsoncpp_lib_static. Use jsoncpp_lib for shared builds.
fix
Use target_link_libraries(your_target PRIVATE jsoncpp_lib)
affects: *
Upgrade
Version history
1.9.6latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources

No resource links recorded.

jsoncpp — pip install jsoncpp · libregistry