Encapsulate the JSON code in a namespace to avoid issues with JSON classes used in opm-parser

This commit is contained in:
Magne Sjaastad
2016-06-06 10:43:36 +02:00
parent 4fd8e2503c
commit 7742fbe325
5 changed files with 12 additions and 4 deletions

View File

@@ -210,7 +210,7 @@ bool RimWellPath::readWellPathFile(QString* errorMessage, RifWellPathAsciiFileRe
void RimWellPath::readJsonWellPathFile()
{
RigWellPath* wellPathGeom = new RigWellPath();
JsonReader jsonReader;
ResInsightInternalJson::JsonReader jsonReader;
QMap<QString, QVariant> jsonMap = jsonReader.decodeFile(filepath);
// General well info