| 1298 | } |
| 1299 | |
| 1300 | std::string value_to_json(const value & val, int indent, const std::string_view item_sep, const std::string_view key_sep) { |
| 1301 | std::ostringstream oss; |
| 1302 | value_to_json_internal(oss, val, 0, indent, item_sep, key_sep); |
| 1303 | JJ_DEBUG("value_to_json: result=%s", oss.str().c_str()); |
| 1304 | return oss.str(); |
| 1305 | } |
| 1306 | |
| 1307 | // TODO: avoid circular references |
| 1308 | std::string value_to_string_repr(const value & val) { |
no test coverage detected