Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::VkJson Struct Reference

Serializable structure for VK JSON output (msgpack-compatible) More...

#include <json_output.hpp>

Public Member Functions

 MSGPACK_FIELDS (vk, hash, bb_version, scheme)
 

Static Public Member Functions

template<typename T >
static std::string build (const std::vector< T > &fields, const std::string &hash, const std::string &scheme)
 
static std::vector< uint8_t > parse_to_bytes (const nlohmann::json &json)
 

Public Attributes

std::vector< std::string > vk
 
std::string hash
 
std::string bb_version
 
std::string scheme
 

Detailed Description

Serializable structure for VK JSON output (msgpack-compatible)

Definition at line 88 of file json_output.hpp.

Member Function Documentation

◆ build()

template<typename T >
static std::string bb::VkJson::build ( const std::vector< T > &  fields,
const std::string &  hash,
const std::string &  scheme 
)
inlinestatic

Definition at line 97 of file json_output.hpp.

◆ MSGPACK_FIELDS()

bb::VkJson::MSGPACK_FIELDS ( vk  ,
hash  ,
bb_version  ,
scheme   
)

◆ parse_to_bytes()

static std::vector< uint8_t > bb::VkJson::parse_to_bytes ( const nlohmann::json &  json)
inlinestatic

Definition at line 118 of file json_output.hpp.

Member Data Documentation

◆ bb_version

std::string bb::VkJson::bb_version

Definition at line 91 of file json_output.hpp.

◆ hash

std::string bb::VkJson::hash

Definition at line 90 of file json_output.hpp.

◆ scheme

std::string bb::VkJson::scheme

Definition at line 92 of file json_output.hpp.

◆ vk

std::vector<std::string> bb::VkJson::vk

Definition at line 89 of file json_output.hpp.


The documentation for this struct was generated from the following file: