MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / jsonToCompactString

Function jsonToCompactString

inc/osvr/Common/JSONHelpers.h:53–56  ·  view source on GitHub ↗

@brief Turns the JSON value into a compact string representation.

Source from the content-addressed store, hash-verified

51
52 /// @brief Turns the JSON value into a compact string representation.
53 inline std::string jsonToCompactString(Json::Value const& val) {
54 Json::FastWriter writer;
55 return writer.write(val);
56 }
57
58 /// @brief Turns the JSON value into a pretty-printed, human-targeted string
59 /// representation.

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected