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
dcn::parse Namespace Reference

Classes

struct  ParseError
 
struct  use_json_t
 A tag type to indicate whether to use Protobuf or JSON for parsing. More...
 
struct  use_protobuf_t
 A tag type to indicate whether to use Protobuf or JSON for parsing. More...
 

Concepts

concept  HasValueTypeAndIterator
 
concept  IsSequenceContainer
 
concept  IsTupleLike
 

Typedefs

template<class T >
using Result = std::expected< T, ParseError >
 

Functions

http::Header parseHeaderFromString (const std::string &header_str)
 Parse a header string to a Header enum.
 
http::Method parseMethodFromString (const std::string &method)
 Parse the given string to a http::Method.
 
template<class T >
Result< T > parseFromJson (json json, use_json_t)
 Converts a JSON string to a T using JSON.
 
template<class T >
Result< T > parseFromJson (std::string json_str, use_protobuf_t)
 Converts a JSON string to a T using Protobuf.
 
template<class T >
Result< jsonparseToJson (T message, use_json_t)
 Converts a T to a JSON object using JSON.
 
template<class T >
Result< std::string > parseToJson (T message, use_protobuf_t)
 Converts a T to a JSON string using Protobuf.
 
template<>
Result< jsonparseToJson (Condition condition, use_json_t)
 Parses a condition object to a JSON object.
 
template<>
Result< Condition > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< std::string > parseToJson (Condition condition, use_protobuf_t)
 Converts a condition object to a JSON string using protobuf.
 
template<>
Result< Condition > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsonparseToJson (ConditionRecord condition_record, use_json_t)
 Converts a ConditionRecord object to a JSON object.
 
template<>
Result< std::string > parseToJson (ConditionRecord condition_record, use_protobuf_t)
 Converts a ConditionRecord object to a JSON string using Protobuf.
 
template<>
Result< ConditionRecord > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a ConditionRecord object.
 
template<>
Result< ConditionRecord > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a ConditionRecord object using Protobuf.
 
template<>
Result< jsonparseToJson (RunningInstance running_instance, use_json_t)
 Converts a RunningInstance to a JSON object.
 
template<>
Result< RunningInstance > parseFromJson (json json, use_json_t)
 Parses a JSON object into a RunningInstance.
 
template<>
Result< std::string > parseToJson (RunningInstance running_instance, use_protobuf_t)
 Converts a RunningInstance to a protobuf JSON string.
 
template<>
Result< RunningInstance > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a protobuf JSON string into a RunningInstance.
 
template<>
Result< jsonparseToJson (ExecuteRequest execute_request, use_json_t)
 Converts an ExecuteRequest to a JSON object.
 
template<>
Result< ExecuteRequest > parseFromJson (json json, use_json_t)
 Parses a JSON object into an ExecuteRequest.
 
template<>
Result< std::string > parseToJson (ExecuteRequest execute_request, use_protobuf_t)
 Converts an ExecuteRequest to a protobuf JSON string.
 
template<>
Result< ExecuteRequest > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a protobuf JSON string into an ExecuteRequest.
 
template<>
Result< jsonparseToJson (TransformationDef transform_def, use_json_t)
 Parses a TransformationDef object to a JSON object.
 
template<>
Result< TransformationDef > parseFromJson (json json, use_json_t)
 Parses a JSON object to a TransformationDef object.
 
template<>
Result< jsonparseToJson (Dimension dimension, use_json_t)
 Parses a Dimension object to a JSON object.
 
template<>
Result< Dimension > parseFromJson (json json, use_json_t)
 Parses a JSON object to a Dimension object.
 
template<>
Result< std::string > parseToJson (Dimension dimension, use_protobuf_t)
 Parses a Dimension object to a JSON string using Protobuf.
 
template<>
Result< Dimension > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a Dimension object.
 
template<>
Result< jsonparseToJson (Feature feature, use_json_t)
 Parses a Feature object to a JSON object.
 
template<>
Result< Feature > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a Feature object.
 
template<>
Result< std::string > parseToJson (Feature feature, use_protobuf_t)
 Converts a Feature object to a JSON string using protobuf.
 
template<>
Result< Feature > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a Feature object using Protobuf.
 
template<>
Result< jsonparseToJson (FeatureRecord feature, use_json_t)
 Converts a FeatureRecord object to a JSON object using JSON.
 
template<>
Result< std::string > parseToJson (FeatureRecord feature_record, use_protobuf_t)
 Converts a FeatureRecord to a JSON string using Protobuf.
 
template<>
Result< FeatureRecord > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a FeatureRecord object using JSON.
 
template<>
Result< FeatureRecord > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a FeatureRecord object using Protobuf.
 
template<>
Result< jsonparseToJson (std::vector< Samples > samples, use_json_t)
 Converts a Samples object to a JSON object using JSON.
 
template<>
Result< std::vector< Samples > > parseFromJson (json json, use_json_t)
 Parses a JSON string to a Samples object using JSON.
 
template<>
Result< jsonparseToJson (Transformation transformation, use_json_t)
 Parses a Transformation object to a JSON object.
 
template<>
Result< Transformation > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a Transformation object.
 
template<>
Result< std::string > parseToJson (Transformation transformation, use_protobuf_t)
 Converts a Transformation object to a JSON string using protobuf.
 
template<>
Result< Transformation > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a Transformation object using Protobuf.
 
template<>
Result< jsonparseToJson (TransformationRecord transformation_record, use_json_t)
 Converts a TransformationRecord object to a JSON object.
 
template<>
Result< std::string > parseToJson (TransformationRecord transformation_record, use_protobuf_t)
 Converts a TransformationRecord object to a JSON string using Protobuf.
 
template<>
Result< TransformationRecord > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a TransformationRecord object.
 
template<>
Result< TransformationRecord > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a TransformationRecord object using Protobuf.
 
template<>
Result< jsonparseToJson (Condition condition, use_json_t)
 Parses a condition object to a JSON object.
 
template<>
Result< Condition > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< std::string > parseToJson (Condition condition, use_protobuf_t)
 Converts a condition object to a JSON string using protobuf.
 
template<>
Result< Condition > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsonparseToJson (ConditionRecord condition_record, use_json_t)
 Converts a ConditionRecord object to a JSON object.
 
template<>
Result< std::string > parseToJson (ConditionRecord condition_record, use_protobuf_t)
 Converts a ConditionRecord object to a JSON string using Protobuf.
 
template<>
Result< ConditionRecord > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< ConditionRecord > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsonparseToJson (RunningInstance running_instance, use_json_t)
 Converts a RunningInstance to a JSON object.
 
template<>
Result< RunningInstance > parseFromJson (json json, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< std::string > parseToJson (RunningInstance running_instance, use_protobuf_t)
 Converts a RunningInstance to a protobuf JSON string.
 
template<>
Result< RunningInstance > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsonparseToJson (ExecuteRequest execute_request, use_json_t)
 Converts an ExecuteRequest to a JSON object.
 
template<>
Result< ExecuteRequest > parseFromJson (json json, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< std::string > parseToJson (ExecuteRequest execute_request, use_protobuf_t)
 Converts an ExecuteRequest to a protobuf JSON string.
 
template<>
Result< ExecuteRequest > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsonparseToJson (TransformationDef transform_def, use_json_t)
 Parses a TransformationDef object to a JSON object.
 
template<>
Result< TransformationDef > parseFromJson (json json, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< jsonparseToJson (Dimension dimension, use_json_t)
 Parses a Dimension object to a JSON object.
 
template<>
Result< Dimension > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< std::string > parseToJson (Dimension dimension, use_protobuf_t)
 Parses a Dimension object to a JSON string using Protobuf.
 
template<>
Result< Dimension > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsonparseToJson (Feature feature, use_json_t)
 Parses a Feature object to a JSON object.
 
template<>
Result< Feature > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< std::string > parseToJson (Feature feature, use_protobuf_t)
 Converts a Feature object to a JSON string using protobuf.
 
template<>
Result< Feature > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsonparseToJson (FeatureRecord feature, use_json_t)
 Converts a FeatureRecord object to a JSON object using JSON.
 
template<>
Result< std::string > parseToJson (FeatureRecord feature_record, use_protobuf_t)
 Converts a FeatureRecord to a JSON string using Protobuf.
 
template<>
Result< FeatureRecord > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< FeatureRecord > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsonparseToJson (std::vector< Samples > samples, use_json_t)
 Converts a Samples object to a JSON object using JSON.
 
template<>
Result< std::vector< Samples > > parseFromJson (json json_val, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< jsonparseToJson (Transformation transformation, use_json_t)
 Parses a Transformation object to a JSON object.
 
template<>
Result< Transformation > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< std::string > parseToJson (Transformation transformation, use_protobuf_t)
 Converts a Transformation object to a JSON string using protobuf.
 
template<>
Result< Transformation > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
Result< jsonparseToJson (TransformationRecord transformation_record, use_json_t)
 Converts a TransformationRecord object to a JSON object.
 
template<>
Result< std::string > parseToJson (TransformationRecord transformation_record, use_protobuf_t)
 Converts a TransformationRecord object to a JSON string using Protobuf.
 
template<>
Result< TransformationRecord > parseFromJson (json json_obj, use_json_t)
 Parses a JSON object to a condition object.
 
template<>
Result< TransformationRecord > parseFromJson (std::string json_str, use_protobuf_t)
 Parses a JSON string to a condition object using Protobuf.
 
template<>
parse::Result< std::size_t > parseRouteArgAs< std::size_t > (const server::RouteArg &arg)
 Parses a RouteArg as a unsigned integer.
 
template<>
parse::Result< std::uint32_t > parseRouteArgAs< std::uint32_t > (const server::RouteArg &arg)
 Parses a RouteArg as a 32bit unsigned integer.
 
template<>
parse::Result< std::string > parseRouteArgAs< std::string > (const server::RouteArg &arg)
 Parses a RouteArg as a string.
 

Typedef Documentation

◆ Result

template<class T >
using dcn::parse::Result = typedef std::expected<T, ParseError>

Function Documentation

◆ parseFromJson() [1/42]

template<class T >
Result< T > dcn::parse::parseFromJson ( json  json,
use_json_t   
)

Converts a JSON string to a T using JSON.

Template Parameters
TThe message type.
Parameters
jsonThe JSON string to convert.

◆ parseFromJson() [2/42]

template<>
Result< RunningInstance > dcn::parse::parseFromJson ( json  json,
use_json_t   
)

Parses a JSON object into a RunningInstance.

Parameters
jsonThe JSON object to parse.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [3/42]

template<>
Result< ExecuteRequest > dcn::parse::parseFromJson ( json  json,
use_json_t   
)

Parses a JSON object into an ExecuteRequest.

Parameters
jsonThe JSON object to parse.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [4/42]

template<>
Result< TransformationDef > dcn::parse::parseFromJson ( json  json,
use_json_t   
)

Parses a JSON object to a TransformationDef object.

Parameters
jsonThe JSON object to parse.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [5/42]

template<>
Result< Dimension > dcn::parse::parseFromJson ( json  json,
use_json_t   
)

Parses a JSON object to a Dimension object.

Parameters
jsonThe JSON object to parse.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [6/42]

template<>
Result< std::vector< Samples > > dcn::parse::parseFromJson ( json  json,
use_json_t   
)

Parses a JSON string to a Samples object using JSON.

Parameters
jsonThe JSON string to parse.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [7/42]

template<>
Result< RunningInstance > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [8/42]

template<>
Result< ExecuteRequest > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [9/42]

template<>
Result< TransformationDef > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [10/42]

template<>
Result< Condition > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [11/42]

template<>
Result< ConditionRecord > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [12/42]

template<>
Result< Feature > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a Feature object.

Parameters
json_objThe JSON object to parse.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [13/42]

template<>
Result< FeatureRecord > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a FeatureRecord object using JSON.

Parameters
json_objThe JSON object to parse.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [14/42]

template<>
Result< Transformation > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a Transformation object.

Parameters
json_objThe JSON object to parse.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [15/42]

template<>
Result< TransformationRecord > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a TransformationRecord object.

Parameters
json_objThe JSON object to parse.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [16/42]

template<>
Result< Condition > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [17/42]

template<>
Result< ConditionRecord > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [18/42]

template<>
Result< Dimension > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [19/42]

template<>
Result< Feature > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [20/42]

template<>
Result< FeatureRecord > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [21/42]

template<>
Result< Transformation > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [22/42]

template<>
Result< TransformationRecord > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [23/42]

template<>
Result< std::vector< Samples > > dcn::parse::parseFromJson ( json  json_obj,
use_json_t   
)

Parses a JSON object to a condition object.

Parses a JSON object to a TransformationRecord object.

Parses a JSON object to a Transformation object.

Parses a JSON string to a Samples object using JSON.

Parses a JSON object to a FeatureRecord object using JSON.

Parses a JSON object to a Feature object.

Parses a JSON object to a Dimension object.

Parses a JSON object to a TransformationDef object.

Parses a JSON object into an ExecuteRequest.

Parses a JSON object into a RunningInstance.

Parses a JSON object to a ConditionRecord object.

Parameters
json_objThe JSON object to parse.

◆ parseFromJson() [24/42]

template<class T >
Result< T > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Converts a JSON string to a T using Protobuf.

Template Parameters
TThe message type.
Parameters
jsonThe JSON string to convert.

◆ parseFromJson() [25/42]

template<>
Result< Condition > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [26/42]

template<>
Result< ConditionRecord > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [27/42]

template<>
Result< RunningInstance > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a protobuf JSON string into a RunningInstance.

Parameters
json_strThe JSON string to parse.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [28/42]

template<>
Result< ExecuteRequest > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a protobuf JSON string into an ExecuteRequest.

Parameters
json_strThe JSON string to parse.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [29/42]

template<>
Result< Dimension > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a Dimension object.

Parameters
json_strThe JSON string to parse.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [30/42]

template<>
Result< Feature > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a Feature object using Protobuf.

Parameters
json_strThe JSON string to parse.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [31/42]

template<>
Result< FeatureRecord > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a FeatureRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [32/42]

template<>
Result< Transformation > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a Transformation object using Protobuf.

Parameters
json_strThe JSON string to parse.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [33/42]

template<>
Result< TransformationRecord > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a TransformationRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [34/42]

template<>
Result< Condition > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [35/42]

template<>
Result< ConditionRecord > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [36/42]

template<>
Result< RunningInstance > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [37/42]

template<>
Result< ExecuteRequest > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [38/42]

template<>
Result< Dimension > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [39/42]

template<>
Result< Feature > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [40/42]

template<>
Result< FeatureRecord > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [41/42]

template<>
Result< Transformation > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseFromJson() [42/42]

template<>
Result< TransformationRecord > dcn::parse::parseFromJson ( std::string  json_str,
use_protobuf_t   
)

Parses a JSON string to a condition object using Protobuf.

Parses a JSON string to a TransformationRecord object using Protobuf.

Parses a JSON string to a Transformation object using Protobuf.

Parses a JSON string to a FeatureRecord object using Protobuf.

Parses a JSON string to a Feature object using Protobuf.

Parses a JSON string to a Dimension object.

Parses a protobuf JSON string into an ExecuteRequest.

Parses a protobuf JSON string into a RunningInstance.

Parses a JSON string to a ConditionRecord object using Protobuf.

Parameters
json_strThe JSON string to parse.

◆ parseHeaderFromString()

http::Header dcn::parse::parseHeaderFromString ( const std::string &  header_str)

Parse a header string to a Header enum.

Parameters
[in]header_strThe header string to parse
Returns
The parsed Header enum

◆ parseMethodFromString()

http::Method dcn::parse::parseMethodFromString ( const std::string &  method)

Parse the given string to a http::Method.

Parameters
methodThe string to be parsed.
Returns
The parsed Method or Method::Unknown if the string doesn't match any of the methods.

◆ parseRouteArgAs< std::size_t >()

template<>
parse::Result< std::size_t > dcn::parse::parseRouteArgAs< std::size_t > ( const server::RouteArg arg)

Parses a RouteArg as a unsigned integer.

This function takes a RouteArg and attempts to parse it as a unsigned integer.

Parameters
argThe RouteArg to parse.

◆ parseRouteArgAs< std::string >()

template<>
parse::Result< std::string > dcn::parse::parseRouteArgAs< std::string > ( const server::RouteArg arg)

Parses a RouteArg as a string.

This function takes a RouteArg and attempts to parse it as a string.

Parameters
argThe RouteArg to parse.

◆ parseRouteArgAs< std::uint32_t >()

template<>
parse::Result< std::uint32_t > dcn::parse::parseRouteArgAs< std::uint32_t > ( const server::RouteArg arg)

Parses a RouteArg as a 32bit unsigned integer.

This function takes a RouteArg and attempts to parse it as a 32bit unsigned integer.

Parameters
argThe RouteArg to parse.

◆ parseToJson() [1/42]

template<>
Result< json > dcn::parse::parseToJson ( Condition  condition,
use_json_t   
)

Parses a condition object to a JSON object.

Parameters
conditionThe condition object to parse.

◆ parseToJson() [2/42]

template<>
Result< json > dcn::parse::parseToJson ( Condition  condition,
use_json_t   
)

Parses a condition object to a JSON object.

Parameters
conditionThe condition object to parse.

◆ parseToJson() [3/42]

template<>
Result< std::string > dcn::parse::parseToJson ( Condition  condition,
use_protobuf_t   
)

Converts a condition object to a JSON string using protobuf.

Parameters
conditionThe condition object to convert
Returns
A JSON string representation of the condition object

◆ parseToJson() [4/42]

template<>
Result< std::string > dcn::parse::parseToJson ( Condition  condition,
use_protobuf_t   
)

Converts a condition object to a JSON string using protobuf.

Parameters
conditionThe condition object to convert
Returns
A JSON string representation of the condition object

◆ parseToJson() [5/42]

template<>
Result< json > dcn::parse::parseToJson ( ConditionRecord  condition_record,
use_json_t   
)

Converts a ConditionRecord object to a JSON object.

Parameters
condition_recordThe ConditionRecord object to convert.

◆ parseToJson() [6/42]

template<>
Result< json > dcn::parse::parseToJson ( ConditionRecord  condition_record,
use_json_t   
)

Converts a ConditionRecord object to a JSON object.

Parameters
condition_recordThe ConditionRecord object to convert.

◆ parseToJson() [7/42]

template<>
Result< std::string > dcn::parse::parseToJson ( ConditionRecord  condition_record,
use_protobuf_t   
)

Converts a ConditionRecord object to a JSON string using Protobuf.

Parameters
condition_recordThe ConditionRecord object to convert.

◆ parseToJson() [8/42]

template<>
Result< std::string > dcn::parse::parseToJson ( ConditionRecord  condition_record,
use_protobuf_t   
)

Converts a ConditionRecord object to a JSON string using Protobuf.

Parameters
condition_recordThe ConditionRecord object to convert.

◆ parseToJson() [9/42]

template<>
Result< json > dcn::parse::parseToJson ( Dimension  dimension,
use_json_t   
)

Parses a Dimension object to a JSON object.

Parameters
dimensionThe Dimension object to parse.

◆ parseToJson() [10/42]

template<>
Result< json > dcn::parse::parseToJson ( Dimension  dimension,
use_json_t   
)

Parses a Dimension object to a JSON object.

Parameters
dimensionThe Dimension object to parse.

◆ parseToJson() [11/42]

template<>
Result< std::string > dcn::parse::parseToJson ( Dimension  dimension,
use_protobuf_t   
)

Parses a Dimension object to a JSON string using Protobuf.

Parameters
dimensionThe Dimension object to parse.

◆ parseToJson() [12/42]

template<>
Result< std::string > dcn::parse::parseToJson ( Dimension  dimension,
use_protobuf_t   
)

Parses a Dimension object to a JSON string using Protobuf.

Parameters
dimensionThe Dimension object to parse.

◆ parseToJson() [13/42]

template<>
Result< json > dcn::parse::parseToJson ( ExecuteRequest  execute_request,
use_json_t   
)

Converts an ExecuteRequest to a JSON object.

Parameters
execute_requestThe ExecuteRequest to convert.

◆ parseToJson() [14/42]

template<>
Result< json > dcn::parse::parseToJson ( ExecuteRequest  execute_request,
use_json_t   
)

Converts an ExecuteRequest to a JSON object.

Parameters
execute_requestThe ExecuteRequest to convert.

◆ parseToJson() [15/42]

template<>
Result< std::string > dcn::parse::parseToJson ( ExecuteRequest  execute_request,
use_protobuf_t   
)

Converts an ExecuteRequest to a protobuf JSON string.

Parameters
execute_requestThe ExecuteRequest to convert.

◆ parseToJson() [16/42]

template<>
Result< std::string > dcn::parse::parseToJson ( ExecuteRequest  execute_request,
use_protobuf_t   
)

Converts an ExecuteRequest to a protobuf JSON string.

Parameters
execute_requestThe ExecuteRequest to convert.

◆ parseToJson() [17/42]

template<>
Result< json > dcn::parse::parseToJson ( Feature  feature,
use_json_t   
)

Parses a Feature object to a JSON object.

Parameters
featureThe Feature object to parse.

◆ parseToJson() [18/42]

template<>
Result< json > dcn::parse::parseToJson ( Feature  feature,
use_json_t   
)

Parses a Feature object to a JSON object.

Parameters
featureThe Feature object to parse.

◆ parseToJson() [19/42]

template<>
Result< std::string > dcn::parse::parseToJson ( Feature  feature,
use_protobuf_t   
)

Converts a Feature object to a JSON string using protobuf.

Parameters
featureThe Feature object to convert
Returns
A JSON string representation of the Feature object

◆ parseToJson() [20/42]

template<>
Result< std::string > dcn::parse::parseToJson ( Feature  feature,
use_protobuf_t   
)

Converts a Feature object to a JSON string using protobuf.

Parameters
featureThe Feature object to convert
Returns
A JSON string representation of the Feature object

◆ parseToJson() [21/42]

template<>
Result< json > dcn::parse::parseToJson ( FeatureRecord  feature,
use_json_t   
)

Converts a FeatureRecord object to a JSON object using JSON.

Parameters
featureThe FeatureRecord object to convert.

◆ parseToJson() [22/42]

template<>
Result< json > dcn::parse::parseToJson ( FeatureRecord  feature,
use_json_t   
)

Converts a FeatureRecord object to a JSON object using JSON.

Parameters
featureThe FeatureRecord object to convert.

◆ parseToJson() [23/42]

template<>
Result< std::string > dcn::parse::parseToJson ( FeatureRecord  feature_record,
use_protobuf_t   
)

Converts a FeatureRecord to a JSON string using Protobuf.

Parameters
feature_recordThe FeatureRecord object to convert.

◆ parseToJson() [24/42]

template<>
Result< std::string > dcn::parse::parseToJson ( FeatureRecord  feature_record,
use_protobuf_t   
)

Converts a FeatureRecord to a JSON string using Protobuf.

Parameters
feature_recordThe FeatureRecord object to convert.

◆ parseToJson() [25/42]

template<>
Result< json > dcn::parse::parseToJson ( RunningInstance  running_instance,
use_json_t   
)

Converts a RunningInstance to a JSON object.

Parameters
running_instanceThe RunningInstance to convert.

◆ parseToJson() [26/42]

template<>
Result< json > dcn::parse::parseToJson ( RunningInstance  running_instance,
use_json_t   
)

Converts a RunningInstance to a JSON object.

Parameters
running_instanceThe RunningInstance to convert.

◆ parseToJson() [27/42]

template<>
Result< std::string > dcn::parse::parseToJson ( RunningInstance  running_instance,
use_protobuf_t   
)

Converts a RunningInstance to a protobuf JSON string.

Parameters
running_instanceThe RunningInstance to convert.

◆ parseToJson() [28/42]

template<>
Result< std::string > dcn::parse::parseToJson ( RunningInstance  running_instance,
use_protobuf_t   
)

Converts a RunningInstance to a protobuf JSON string.

Parameters
running_instanceThe RunningInstance to convert.

◆ parseToJson() [29/42]

template<>
Result< json > dcn::parse::parseToJson ( std::vector< Samples >  samples,
use_json_t   
)

Converts a Samples object to a JSON object using JSON.

Parameters
samplesThe Samples object to convert.

◆ parseToJson() [30/42]

template<>
Result< json > dcn::parse::parseToJson ( std::vector< Samples >  samples,
use_json_t   
)

Converts a Samples object to a JSON object using JSON.

Parameters
samplesThe Samples object to convert.

◆ parseToJson() [31/42]

template<class T >
Result< json > dcn::parse::parseToJson ( message,
use_json_t   
)

Converts a T to a JSON object using JSON.

Template Parameters
TThe message type.
Parameters
messageThe message to convert.

◆ parseToJson() [32/42]

template<class T >
Result< std::string > dcn::parse::parseToJson ( message,
use_protobuf_t   
)

Converts a T to a JSON string using Protobuf.

Template Parameters
TThe message type.
Parameters
messageThe message to convert.

◆ parseToJson() [33/42]

template<>
Result< json > dcn::parse::parseToJson ( Transformation  transformation,
use_json_t   
)

Parses a Transformation object to a JSON object.

Parameters
transformationThe Transformation object to parse.

◆ parseToJson() [34/42]

template<>
Result< json > dcn::parse::parseToJson ( Transformation  transformation,
use_json_t   
)

Parses a Transformation object to a JSON object.

Parameters
transformationThe Transformation object to parse.

◆ parseToJson() [35/42]

template<>
Result< std::string > dcn::parse::parseToJson ( Transformation  transformation,
use_protobuf_t   
)

Converts a Transformation object to a JSON string using protobuf.

Parameters
transformationThe Transformation object to convert
Returns
A JSON string representation of the Transformation object

◆ parseToJson() [36/42]

template<>
Result< std::string > dcn::parse::parseToJson ( Transformation  transformation,
use_protobuf_t   
)

Converts a Transformation object to a JSON string using protobuf.

Parameters
transformationThe Transformation object to convert
Returns
A JSON string representation of the Transformation object

◆ parseToJson() [37/42]

template<>
Result< json > dcn::parse::parseToJson ( TransformationDef  transform_def,
use_json_t   
)

Parses a TransformationDef object to a JSON object.

Parameters
transform_defThe TransformationDef object to parse.

◆ parseToJson() [38/42]

template<>
Result< json > dcn::parse::parseToJson ( TransformationDef  transform_def,
use_json_t   
)

Parses a TransformationDef object to a JSON object.

Parameters
transform_defThe TransformationDef object to parse.

◆ parseToJson() [39/42]

template<>
Result< json > dcn::parse::parseToJson ( TransformationRecord  transformation_record,
use_json_t   
)

Converts a TransformationRecord object to a JSON object.

Parameters
transformation_recordThe TransformationRecord object to convert.

◆ parseToJson() [40/42]

template<>
Result< json > dcn::parse::parseToJson ( TransformationRecord  transformation_record,
use_json_t   
)

Converts a TransformationRecord object to a JSON object.

Parameters
transformation_recordThe TransformationRecord object to convert.

◆ parseToJson() [41/42]

template<>
Result< std::string > dcn::parse::parseToJson ( TransformationRecord  transformation_record,
use_protobuf_t   
)

Converts a TransformationRecord object to a JSON string using Protobuf.

Parameters
transformation_recordThe TransformationRecord object to convert.

◆ parseToJson() [42/42]

template<>
Result< std::string > dcn::parse::parseToJson ( TransformationRecord  transformation_record,
use_protobuf_t   
)

Converts a TransformationRecord object to a JSON string using Protobuf.

Parameters
transformation_recordThe TransformationRecord object to convert.