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

JsonElement::getAsJsonObject()

Function Usage

Returns a pointer to the subclass object if the JsonElement pointer points to a GsonObject subclass object, or otherwise, aborts.

Function Syntax

GsonObject *JsonElement::getAsJsonObject();

Return Value

  • Success: a pointer to the GsonObject object.
  • Failure: abortion