我要评分
获取效率
正确性
完整性
易理解

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