Write numbers as numbers in json, not strings (#7736)

This commit is contained in:
jonjenssen authored and GitHub committed 2021-05-28 15:24:30 +02:00
1 parent 8752eebdca
commit e2e04db6eb
1 file changed
+1 -1
@@ -88,7 +88,7 @@ bool RifFaultRAJSonWriter::writeToPostprocFile( int faultID, RimFaultRAPostprocS
for ( auto p : settings->parameters()->parameters() )
{
stream << "\"" + p->name() + "\" : \"" + p->stringValue() + "\"," << endl;
stream << "\"" + p->name() + "\" : " + p->stringValue() + "," << endl;
}
stream << "\"tsurf_loadsteps\": [ " + settings->stepsToLoad().join( ',' ) + " ]" << endl;