Skip to content

Commit

Permalink
Merge pull request #2122 from kungfu-trader/dev/v2/v2.4
Browse files Browse the repository at this point in the history
Prerelease v2.4.76-alpha.0
  • Loading branch information
Pythonzhai authored Nov 1, 2023
2 parents 59771ec + 038fc6b commit 2520e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/core/src/include/kungfu/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ template <typename DataType> struct data {
auto accessor = boost::hana::second(it);
j[name.c_str()] = accessor(*reinterpret_cast<const DataType *>(this));
});
return j.dump();
return j.dump(-1, ' ', false, nlohmann::json::basic_json::error_handler_t::replace);
}

explicit operator std::string() const { return to_string(); }
Expand Down

0 comments on commit 2520e93

Please sign in to comment.