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

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

#include <json_output.hpp>

Public Member Functions

 MSGPACK_FIELDS (public_inputs, bb_version, scheme)
 

Static Public Member Functions

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

Public Attributes

std::vector< std::string > public_inputs
 
std::string bb_version
 
std::string scheme
 

Detailed Description

Serializable structure for public inputs JSON output (msgpack-compatible)

Definition at line 190 of file json_output.hpp.

Member Function Documentation

◆ build()

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

Definition at line 197 of file json_output.hpp.

◆ MSGPACK_FIELDS()

bb::PublicInputsJson::MSGPACK_FIELDS ( public_inputs  ,
bb_version  ,
scheme   
)

◆ parse()

static std::vector< uint256_t > bb::PublicInputsJson::parse ( const nlohmann::json &  json)
inlinestatic

Definition at line 218 of file json_output.hpp.

Member Data Documentation

◆ bb_version

std::string bb::PublicInputsJson::bb_version

Definition at line 192 of file json_output.hpp.

◆ public_inputs

std::vector<std::string> bb::PublicInputsJson::public_inputs

Definition at line 191 of file json_output.hpp.

◆ scheme

std::string bb::PublicInputsJson::scheme

Definition at line 193 of file json_output.hpp.


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