[#nlohmann-basic_json-0c-swap-0b] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0c.adoc[basic_json]::swap :relfileprefix: ../../ :mrdocs: exchanges the values == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap(binary_t::container_type& other); ---- == Parameters [cols="1,4"] |=== | Name| Description | *other* | binary container value to exchange the contents with |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#