mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 02:29:33 +00:00
Do not format JSON output, jq can do that if needed
This commit is contained in:
parent
9164a53658
commit
4d6a645b72
|
@ -360,9 +360,7 @@ int ScsiCtl::ExportAsBinary(const PbCommand &command, const string &filename) co
|
|||
int ScsiCtl::ExportAsJson(const PbCommand &command, const string &filename) const
|
||||
{
|
||||
string json;
|
||||
JsonPrintOptions options;
|
||||
options.add_whitespace = true;
|
||||
MessageToJsonString(command, &json, options);
|
||||
MessageToJsonString(command, &json);
|
||||
|
||||
ofstream out(filename);
|
||||
out << json;
|
||||
|
|
Loading…
Reference in New Issue
Block a user