Rate This Document
Findability
Accuracy
Completeness
Readability

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