Cuberite
A lightweight, fast and extensible game server for Minecraft
Namespaces | Functions
JsonUtils.cpp File Reference
#include "Globals.h"
#include "JsonUtils.h"
#include "json/json.h"
#include <sstream>
Include dependency graph for JsonUtils.cpp:

Go to the source code of this file.

Namespaces

 JsonUtils
 

Functions

bool JsonUtils::ParseString (const AString &a_JsonStr, Json::Value &a_Root, AString *a_ErrorMsg)
 
AString JsonUtils::SerializeSingleValueJsonObject (const AString &a_Key, const AString &a_Value)
 Creates a Json string representing an object with the specified single value. More...
 
AString JsonUtils::WriteFastString (const Json::Value &a_Root)
 
AString JsonUtils::WriteStyledString (const Json::Value &a_Root)