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
samples.hpp
Go to the documentation of this file.
1#pragma once
2#include <string>
3#include <vector>
4
5#include "samples.pb.h"
6
7#include "parser.hpp"
8
9namespace dcn::parse
10{
11 std::optional<json> parseToJson(std::vector<Samples> samples, use_json_t);
12
13 template<>
14 std::optional<std::vector<Samples>> parseFromJson(json json, use_json_t);
15}
Definition auth.hpp:34
std::optional< json > parseToJson(TransformationDef transform_def, use_json_t)
Parses a TransformationDef object to a JSON object.
Definition feature.cpp:93
std::optional< T > parseFromJson(json json, use_json_t)
Parses a JSON object to a Transformation object.
nlohmann::json json
Definition parser.hpp:4