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
9
namespace
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
}
dcn::parse
Definition
auth.hpp:34
dcn::parse::parseToJson
std::optional< json > parseToJson(TransformationDef transform_def, use_json_t)
Parses a TransformationDef object to a JSON object.
Definition
feature.cpp:93
dcn::parse::parseFromJson
std::optional< T > parseFromJson(json json, use_json_t)
Parses a JSON object to a Transformation object.
dcn::RouteArgRequirement::optional
@ optional
parser.hpp
json
nlohmann::json json
Definition
parser.hpp:4
src
pt
include
samples.hpp
Generated by
1.9.8