Skip to content
JsonBlock

CloneFrom

void CloneFrom(const JsonBlock& other)

This will clone every value of other into itself, completely overwriting itself in the progress.

This is a deep-copy function, meaning, every reference will be unreferenced while cloning, and the copy and the original will have no connection whatsoever.


Aliases

Alternative ways to call this function

  • myJsonBlock = myOtherJsonBlock;
  • JsonBlock myJsonBlock(myOtherJsonBlock);