MCPcopy Create free account
hub / github.com/ceph/ceph / get_bool

Method get_bool

src/common/ceph_json.cc:714–717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712}
713
714bool JSONFormattable::get_bool(const string& name, bool def_val) const
715{
716 return (*this)[name].def(def_val);
717}
718
719struct field_entity {
720 bool is_obj{false}; /* either obj field or array entity */

Callers 1

cmdmap_from_jsonFunction · 0.45

Calls 1

defMethod · 0.80

Tested by

no test coverage detected