LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
json.h File Reference
#include "sllconfig.h"
#include <stdexcept>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonValue>
+ Include dependency graph for json.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LC::Util::UnexpectedJson
 

Namespaces

namespace  LC
 
namespace  LC::Util
 

Functions

Either< QString, QJsonDocument > LC::Util::ToJson (const QByteArray &json)
 
template<QJsonValue::Type Expected>
auto LC::Util::As (const QJsonValue &value)
 
template<QJsonValue::Type Expected>
requires (Expected == QJsonValue::Object || Expected == QJsonValue::Array)
auto LC::Util::As (const QJsonDocument &doc)