Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
parser.hpp File Reference
#include <nlohmann/json.hpp>
#include <google/protobuf/util/json_util.h>

Go to the source code of this file.

Classes

struct  dcn::parse::use_protobuf_t
 
struct  dcn::parse::use_json_t
 

Namespaces

namespace  dcn
 
namespace  dcn::parse
 

Typedefs

using json = nlohmann::json
 

Functions

template<class T >
std::optional< Tdcn::parse::parseFromJson (json json, use_json_t)
 Parses a JSON object to a Transformation object.
 
template<class T >
std::optional< Tdcn::parse::parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a Transformation object using Protobuf.
 

Typedef Documentation

◆ json

using json = nlohmann::json