header_utils
Loading...
Searching...
No Matches
UBJSON

Functions

nlohmann::json ghassanpl::formats::ubjson::try_load_file (std::filesystem::path const &from, nlohmann::json const &or_json=json::empty_json)
 
nlohmann::json ghassanpl::formats::ubjson::load_file (std::filesystem::path const &from, std::error_code &ec)
 
nlohmann::json ghassanpl::formats::ubjson::load_file (std::filesystem::path const &from)
 
void ghassanpl::formats::ubjson::save_file (std::filesystem::path const &to, nlohmann::json const &j)
 

Detailed Description

Function Documentation

◆ load_file() [1/2]

nlohmann::json ghassanpl::formats::ubjson::load_file ( std::filesystem::path const from)
inline

Definition at line 358 of file json_helpers.h.

◆ load_file() [2/2]

nlohmann::json ghassanpl::formats::ubjson::load_file ( std::filesystem::path const from,
std::error_code &  ec 
)
inline

Definition at line 352 of file json_helpers.h.

◆ save_file()

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

Definition at line 370 of file json_helpers.h.

◆ try_load_file()

nlohmann::json ghassanpl::formats::ubjson::try_load_file ( std::filesystem::path const from,
nlohmann::json const or_json = json::empty_json 
)
inline

Definition at line 345 of file json_helpers.h.