Header containing wrappers for some common jsoncpp operations. More...
#include <json/value.h>
#include <json/reader.h>
#include <json/writer.h>
#include <string>
Go to the source code of this file.
Namespaces | |
osvr | |
< | |
osvr::common | |
Handles spatial transformations. | |
Functions | |
Json::Value | osvr::common::jsonParse (std::string const &str) |
Parses a string as JSON, returning a null value if parsing fails. | |
std::string | osvr::common::jsonToCompactString (Json::Value const &val) |
Turns the JSON value into a compact string representation. | |
std::string | osvr::common::jsonToStyledString (Json::Value const &val) |
Turns the JSON value into a pretty-printed, human-targeted string representation. | |
Header containing wrappers for some common jsoncpp operations.
Definition in file JSONHelpers.h.