OSVR-Core
Namespaces | Functions
JSONHelpers.h File Reference

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
 The main namespace for all C++ elements of the framework, internal and external.
 
 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. More...
 

Detailed Description

Header containing wrappers for some common jsoncpp operations.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr