HiBONT.remove

Removes a member with name of key @param key = name of the member to be removed

struct HiBONT
@nogc
void
remove
(
in const(char[]) key
)

Examples

// remove
       auto hibon = HiBON();
       hibon["d"] = 4;
       hibon["b"] = 2;
       hibon["c"] = 3;
       hibon["a"] = 1;

       assert(hibon.hasMember("b"));
       hibon.remove("b");
       assert(!hibon.hasMember("b"));