Skip to content
Snippets Groups Projects
Commit 96b35ff0 authored by Pablo Winant's avatar Pablo Winant
Browse files

FIX: JSON remove space before symbols + quote values

parent 64642d92
No related branches found
No related tags found
No related merge requests found
...@@ -66,9 +66,9 @@ InitParamStatement::writeJuliaOutput(ostream &output, const string &basename) ...@@ -66,9 +66,9 @@ InitParamStatement::writeJuliaOutput(ostream &output, const string &basename)
void void
InitParamStatement::writeJsonOutput(ostream &output) const InitParamStatement::writeJsonOutput(ostream &output) const
{ {
output << "{\"statementName\": \"param_init\", \"name\": \"" << symbol_table.getName(symb_id) << "\", " << "\"value\": "; output << "{\"statementName\": \"param_init\", \"name\": \"" << symbol_table.getName(symb_id) << "\", " << "\"value\": \"";
param_value->writeOutput(output); param_value->writeOutput(output);
output << "}"; output << "\"}";
} }
void void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment