helib::JsonWrapper Struct Reference
#include <JsonWrapper.h>
Public Member Functions | |
JsonWrapper (const std::any &json_repr) | |
operator bool () const | |
const std::any & | getJSONobj () const |
JsonWrapper | at (const std::string &key) const |
std::string | toString () const |
std::string | pretty (long indent=2) const |
Friends | |
std::ostream & | operator<< (std::ostream &str, const JsonWrapper &wrapper) |
Constructor & Destructor Documentation
◆ JsonWrapper()
|
inlineexplicit |
Member Function Documentation
◆ at()
JsonWrapper helib::JsonWrapper::at | ( | const std::string & | key | ) | const |
◆ getJSONobj()
|
inline |
◆ operator bool()
|
inlineexplicit |
◆ pretty()
std::string helib::JsonWrapper::pretty | ( | long | indent = 2 | ) | const |
◆ toString()
std::string helib::JsonWrapper::toString | ( | ) | const |
Friends And Related Function Documentation
◆ operator<<
|
friend |