Registry / serialization / json-spirit

json-spirit

JSON →
library4.1.0vcpkgunverified

A C++ JSON parser/generator implemented with Boost Spirit

vcpkg install json-spirit
INSTALL
IMPORT
SIG · JSON-SPIRIT
J
json-spirit
serializationcppv4.1.0
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_spirit/json_spirit.h
#include <json_spirit/json_spirit.h>

Parse a JSON string and access a value

#include <json_spirit/json_spirit.h> #include <iostream> int main() { json_spirit::Value value; json_spirit::read_or_throw("{\"key\": 42}", value); std::cout << value.get_obj().at("key").get_int() << std::endl; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.1.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

json-spirit — pip install json-spirit · libregistry