|
void | register_params () |
|
| json_exception (const base_exception &e) |
|
| json_exception (std::exception_ptr e) |
|
virtual std::string | to_json () const |
|
virtual future | write (output_stream< char > &) const |
| write to an output stream More...
|
|
virtual bool | is_verify () const |
|
virtual void | add (json_base_element *element, std::string name, bool mandatory=false) |
|
◆ add()
virtual void seastar::json::json_base::add |
( |
json_base_element * |
element, |
|
|
std::string |
name, |
|
|
bool |
mandatory = false |
|
) |
| |
|
virtualinherited |
Register an element in an object
- Parameters
-
element | the element to be added |
name | the element name |
mandatory | is this element mandatory. |
◆ is_verify()
virtual bool seastar::json::json_base::is_verify |
( |
| ) |
const |
|
virtualinherited |
Check that all mandatory elements are set
- Returns
- true if all mandatory parameters are set
◆ to_json()
virtual std::string seastar::json::json_base::to_json |
( |
| ) |
const |
|
virtualinherited |
◆ write()
The documentation for this class was generated from the following file: