LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
serializejson.cpp File Reference
#include "serializejson.h"
#include <QJsonDocument>
#include <QFile>
#include "either.h"
+ Include dependency graph for serializejson.cpp:

Go to the source code of this file.

Namespaces

 LC
 
 LC::Util
 

Typedefs

using LC::Util::SerializeResult_t = Either< QString, Void >
 

Functions

QByteArray LC::Util::SerializeJson (const QVariant &var, bool compact=true)
 Serializes the given var to JSON representation. More...
 
SerializeResult_t LC::Util::SerializeJsonToFile (const QString &filename, const QVariant &var, bool compact)