Workspace 6.21.5
Namespaces | Functions | Variables
json.cpp File Reference
#include "json.h"
#include <QBuffer>
#include <QCoreApplication>
#include <QDataStream>
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonParseError>
#include "Workspace/Application/LanguageUtils/errorchecks.h"
#include "Workspace/Application/LanguageUtils/stringhelpers.h"
#include "Workspace/Application/builtinplugin.h"
#include "Workspace/Application/logmanager.h"
#include "Workspace/DataExecution/DataObjects/objectarray.h"
#include "dataobject.h"
#include "typeddatafactory.h"
Include dependency graph for json.cpp:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::DataExecution
 Base workspace functionality not requiring a user interface.
 

Functions

bool adapt (const ObjectArray &from, QJsonDocument &to)
 
bool adapt (const ObjectDictionary &from, QJsonDocument &to)
 
bool adapt (const ObjectGroup &from, QJsonDocument &to)
 
bool adapt (const QByteArray &from, QJsonDocument &to)
 
bool adapt (const QJsonArray &from, ObjectArray &to)
 
bool adapt (const QJsonDocument &from, ObjectArray &to)
 
bool adapt (const QJsonDocument &from, ObjectDictionary &to)
 
bool adapt (const QJsonDocument &from, ObjectGroup &to)
 
bool adapt (const QJsonDocument &from, QByteArray &to)
 
bool adapt (const QJsonDocument &from, QString &to)
 
bool adapt (const QJsonObject &from, ObjectDictionary &to)
 
bool adapt (const QString &from, QJsonDocument &to)
 
CSIRO::DataExecution::adapt CSIRO::DataExecution::adapt CSIRO::DataExecution::adapt DEFINE_WORKSPACE_SIMPLEADAPTOR (QJsonDocument, ObjectArray, BuiltinPlugin::getInstance(), CSIRO::DataExecution::adapt) DEFINE_WORKSPACE_SIMPLEADAPTOR(ObjectArray
 
CSIRO::DataExecution::adapt CSIRO::DataExecution::adapt DEFINE_WORKSPACE_SIMPLEADAPTOR (QJsonDocument, ObjectDictionary, BuiltinPlugin::getInstance(), CSIRO::DataExecution::adapt) DEFINE_WORKSPACE_SIMPLEADAPTOR(ObjectDictionary
 
CSIRO::DataExecution::adapt DEFINE_WORKSPACE_SIMPLEADAPTOR (QJsonDocument, QByteArray, BuiltinPlugin::getInstance(), CSIRO::DataExecution::adapt) DEFINE_WORKSPACE_SIMPLEADAPTOR(QByteArray
 
 DEFINE_WORKSPACE_SIMPLEADAPTOR (QJsonDocument, QString, BuiltinPlugin::getInstance(), CSIRO::DataExecution::adapt) DEFINE_WORKSPACE_SIMPLEADAPTOR(QString
 
QString getJsonString (const DataObject &item)
 

Variables

 QJsonDocument
 

Function Documentation

◆ DEFINE_WORKSPACE_SIMPLEADAPTOR() [1/4]

CSIRO::DataExecution::adapt CSIRO::DataExecution::adapt CSIRO::DataExecution::adapt DEFINE_WORKSPACE_SIMPLEADAPTOR ( QJsonDocument  ,
ObjectArray  ,
BuiltinPlugin::getInstance()  ,
CSIRO::DataExecution::adapt   
)

◆ DEFINE_WORKSPACE_SIMPLEADAPTOR() [2/4]

CSIRO::DataExecution::adapt CSIRO::DataExecution::adapt DEFINE_WORKSPACE_SIMPLEADAPTOR ( QJsonDocument  ,
ObjectDictionary  ,
BuiltinPlugin::getInstance()  ,
CSIRO::DataExecution::adapt   
)

◆ DEFINE_WORKSPACE_SIMPLEADAPTOR() [3/4]

CSIRO::DataExecution::adapt DEFINE_WORKSPACE_SIMPLEADAPTOR ( QJsonDocument  ,
QByteArray  ,
BuiltinPlugin::getInstance()  ,
CSIRO::DataExecution::adapt   
)

◆ DEFINE_WORKSPACE_SIMPLEADAPTOR() [4/4]

DEFINE_WORKSPACE_SIMPLEADAPTOR ( QJsonDocument  ,
QString  ,
BuiltinPlugin::getInstance()  ,
CSIRO::DataExecution::adapt   
)

Variable Documentation

◆ QJsonDocument