Skip to content

FIX: JSON remove space before symbols + quote values

Stéphane Adjemian requested to merge albop:fix_json into json

Created by: albop

This PR removes two bugs:

  • Removes the space in the list of variables:
"endogenous":[
{"name":" y", "texName":"y", "longName":"y"}, 
{"name":" c", "texName":"c", "longName":"c"}, 
{"name":" k", "texName":"k", "longName":"k"}, 
{"name":" a", "texName":"a", "longName":"a"}, 
{"name":" h", "texName":"h", "longName":"h"}, 
{"name":" b", "texName":"b", "longName":"b"}
]
  • Quotes values in param_init statements instead of:
{"statementName": "param_init", "name": "psi", "value": -(0.3+a)}

Merge request reports

Loading