mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
Write numbers as numbers in json, not strings (#7736)
This commit is contained in:
parent
8752eebdca
commit
e2e04db6eb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user