BloombergLP::bdljsn::JsonObject::swap

Exchange the value of this object with that of the specified other object. If an exception is thrown, both objects are left in valid but unspecified states. This operation guarantees O[1]complexity. The behavior is undefined unless this object was created with the same allocator as other.

Synopsis

Declared in <bdljsn_json.h>

void
swap(JsonObject& other);