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
particles.hpp File Reference
#include <string>
#include <vector>
#include "particles.pb.h"
#include "parser.hpp"

Go to the source code of this file.

Namespaces

namespace  dcn
 
namespace  dcn::parse
 

Functions

template<>
Result< jsondcn::parse::parseToJson (std::vector< Particles > particles, use_json_t)
 Converts a Particles object to a JSON object using JSON.
 
template<>
Result< std::vector< Particles > > dcn::parse::parseFromJson (json json, use_json_t)
 Parses a JSON string to a Particles object using JSON.
 
template<>
Result< std::vector< Particles > > dcn::parse::decodeBytes (const std::vector< uint8_t > &bytes)