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
Branches
Tags
No related merge requests found
......@@ -66,9 +66,9 @@ InitParamStatement::writeJuliaOutput(ostream &output, const string &basename)
void
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);
output << "}";
output << "\"}";
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment