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:
@@ -36,6 +36,9 @@
|
||||
|
||||
class QScriptEngine;
|
||||
|
||||
// Encapsulate the JSON code in a namespace to avoid issues with JSON classes used in opm-parser
|
||||
namespace ResInsightInternalJson {
|
||||
|
||||
class JsonReader
|
||||
{
|
||||
public:
|
||||
@@ -58,3 +61,6 @@ private:
|
||||
QMap<QString, QVariant> decodeInner(QScriptValue object);
|
||||
QList<QVariant> decodeInnerToList(QScriptValue arrayValue);
|
||||
};
|
||||
|
||||
|
||||
} // end ResInsightInternalJson
|
||||
Reference in New Issue
Block a user