Skip to content

Commit 6321220

Browse files
committed
work
1 parent d25d707 commit 6321220

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cpp/src/arrow/json/test_common.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,10 @@ static inline std::string PrettyPrint(string_view one_line) {
267267
if (result.error()) {
268268
return std::string(one_line);
269269
}
270-
return simdjson::prettify(result.value());
270+
// simdjson doesn't have a built-in prettify function, so we output as-is
271+
std::ostringstream ss;
272+
ss << result.value();
273+
return ss.str();
271274
}
272275

273276
template <typename T>

0 commit comments

Comments
 (0)