Blue Brain BioExplorer
jsonUtils.h File Reference
#include "staticjson/staticjson.hpp"
#include "rapidjson/document.h"
#include "rapidjson/writer.h"
Include dependency graph for jsonUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 core
 

Functions

template<class T >
std::string core::buildJsonSchema (const std::string &title)
 
template<class T >
std::string core::buildJsonSchema (T &obj, const std::string &title)
 
template<class T >
rapidjson::Document core::getRPCParameterSchema (const std::string &paramName, const std::string &paramDescription, T &obj)
 
rapidjson::Document core::_buildJsonRpcSchema (const RpcDescription &desc)
 
template<class P , class R >
std::string core::buildJsonRpcSchemaRequest (const RpcParameterDescription &desc, P &obj)
 
template<class P , class R >
std::string core::buildJsonRpcSchemaRequest (const RpcParameterDescription &desc)
 
template<class R >
std::string core::buildJsonRpcSchemaRequestReturnOnly (const RpcDescription &desc, R &retVal)
 
template<class R >
std::string core::buildJsonRpcSchemaRequestReturnOnly (const RpcDescription &desc)
 
template<class P >
std::string core::buildJsonRpcSchemaNotify (const RpcParameterDescription &desc, P &obj)
 
template<class P >
std::string core::buildJsonRpcSchemaNotify (const RpcParameterDescription &desc)
 
std::string core::buildJsonRpcSchemaNotify (const RpcDescription &desc)