Rate This Document
Findability
Accuracy
Completeness
Readability

JsonElement::clone()

Function Usage

Shallow clones a JsonElement object.

Function Syntax

Object *JsonElement::clone();

Return Value

  • Success: a pointer to the shallow-cloned JsonElement object.
  • Failure: none

You must use delete to release the returned pointer to the JsonElement structure.