@brief Turns the JSON value into a compact string representation.
| 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. |