[#CBanEntry-ToJson] = xref:CBanEntry.adoc[CBanEntry]::ToJson :relfileprefix: ../ :mrdocs: Generate a JSON representation of this ban entry. == Synopsis Declared in `<net_types.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:UniValue.adoc[UniValue] ToJson() const; ---- == Return Value JSON suitable for passing to the `CBanEntry(const UniValue&)` constructor. [.small]#Created with https://www.mrdocs.com[MrDocs]#