mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Encapsulate the JSON code in a namespace to avoid issues with JSON classes used in opm-parser
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include <QtScript/QScriptEngine>
|
||||
#include <QtScript/QScriptValueIterator>
|
||||
|
||||
namespace ResInsightInternalJson {
|
||||
|
||||
QMap<QString, QVariant> JsonReader::decodeFile(QString filePath)
|
||||
{
|
||||
@@ -141,3 +142,5 @@ QList<QVariant> Json::decodeInnerToList(QScriptValue arrayValue)
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
} // end ResInsightInternalJson
|
||||
Reference in New Issue
Block a user