header_utils
Loading...
Searching...
No Matches
CBOR

Functions

expected< nlohmann::json, std::error_code > ghassanpl::formats::cbor::load_file (std::filesystem::path const &from)
nlohmann::json ghassanpl::formats::cbor::try_load_file (std::filesystem::path const &from, nlohmann::json or_json)
nlohmann::json ghassanpl::formats::cbor::try_load_file (std::filesystem::path const &from)
void ghassanpl::formats::cbor::save_file (std::filesystem::path const &to, nlohmann::json const &j)

Detailed Description

Function Documentation

◆ load_file()

expected< nlohmann::json, std::error_code > ghassanpl::formats::cbor::load_file ( std::filesystem::path const & from)
inline

Definition at line 298 of file json_helpers.h.

◆ save_file()

void ghassanpl::formats::cbor::save_file ( std::filesystem::path const & to,
nlohmann::json const & j )
inline

Definition at line 321 of file json_helpers.h.

◆ try_load_file() [1/2]

nlohmann::json ghassanpl::formats::cbor::try_load_file ( std::filesystem::path const & from)
inline

Definition at line 314 of file json_helpers.h.

◆ try_load_file() [2/2]

nlohmann::json ghassanpl::formats::cbor::try_load_file ( std::filesystem::path const & from,
nlohmann::json or_json )
inline

Definition at line 307 of file json_helpers.h.