/* The function removes all elements from object. Returns 0 on success and -1 if object is not a JSON object. The reference count of all removed values are decremented. */
EFI_STATUS EFIAPI JsonObjectClear(IN EDKII_JSON_OBJECT JsonObject)
/* The function removes all elements from object. Returns 0 on success and -1 if object is not a JSON object. The reference count of all removed values are decremented. */
EFI_STATUS EFIAPI JsonObjectClear(IN EDKII_JSON_OBJECT JsonObject)
{
  if (json_object_clear ((json_t *)JsonObject) != 0) {
    return EFI_ABORTED;
  }
  return EFI_SUCCESS;
}