LeechCraft  0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
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::Either< L, R >
 
class  LC::Util::UnexpectedJson
 

Namespaces

 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>
 LC::Util::requires (Expected==QJsonValue::Object||Expected==QJsonValue::Array) auto As(const QJsonDocument &doc)