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

JsonElement::getAsString() const

Function Usage

Serializes a JsonElement node to a string and returns the string.

Function Syntax

String *JsonElement::getAsString() const;

Return Value

  • Success: a string obtained by serializing the node.
  • Failure: a null pointer if the JsonElement node is null.

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