CBanEntry::ToJson

Generate a JSON representation of this ban entry.

Synopsis

Declared in <net_types.h>

UniValue
ToJson() const;

Return Value

JSON suitable for passing to the CBanEntry(const UniValue&) constructor.