Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
Static Public Member Functions | Friends | List of all members
Common::JsonHelper Class Reference

#include <JSONHelper.hpp>

Static Public Member Functions

static rapidjson::Document OpenJSON (std::string const &filePath)
 Enter a full path towards the json folder location, and it'll return you a document. More...
 
static rapidjson::Document WriteToJson (std::string const filePath, rapidjson::Document &document, bool destroyOldJson=false)
 
static void MergeDocuments (rapidjson::Document &originalDocument, rapidjson::Document &documentToAdd, bool overwriteValues=true)
 

Friends

class FileSystem
 
class FlatFileSystem
 

Detailed Description

Definition at line 16 of file JSONHelper.hpp.

Member Function Documentation

void Common::JsonHelper::MergeDocuments ( rapidjson::Document &  originalDocument,
rapidjson::Document &  documentToAdd,
bool  overwriteValues = true 
)
static

Definition at line 51 of file JSONHelper.cpp.

rapidjson::Document Common::JsonHelper::OpenJSON ( std::string const &  filePath)
static

Enter a full path towards the json folder location, and it'll return you a document.

Definition at line 10 of file JSONHelper.cpp.

rapidjson::Document Common::JsonHelper::WriteToJson ( std::string const  filePath,
rapidjson::Document &  document,
bool  destroyOldJson = false 
)
static

Definition at line 27 of file JSONHelper.cpp.

Friends And Related Function Documentation

friend class FileSystem
friend

Definition at line 27 of file JSONHelper.hpp.

friend class FlatFileSystem
friend

Definition at line 28 of file JSONHelper.hpp.


The documentation for this class was generated from the following files: