Rate This Document
Findability
Accuracy
Completeness
Readability

JsonElement::toString() const

Function Usage

Returns an empty string if the node is null, or otherwise, returns the serialized result of the node.

Function Syntax

std::string JsonElement::toString() const;

Return Value

  • Success: a string after the serialization
  • Failure: an empty string