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

Go to the source code of this file.

Namespaces

 LC
 
 LC::Util
 

Functions

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