private static void translateBasicUserProperties(JSONObject jsonUserObject, BasicUser basicUser)
      throws JSONException {
    // 'noted': boolean,
    if (jsonUserObject.has(PurplemoonAPIConstantsV1.JSON_USER_HASNOTES_BOOL)) {
      boolean hasNotes =
          jsonUserObject.getBoolean(PurplemoonAPIConstantsV1.JSON_USER_HASNOTES_BOOL);
      basicUser.setHasNotes(hasNotes);
    }
    // 'friend': boolean,
    if (jsonUserObject.has(PurplemoonAPIConstantsV1.JSON_USER_ISFRIEND_BOOL)) {
      boolean isFriend =
          jsonUserObject.getBoolean(PurplemoonAPIConstantsV1.JSON_USER_ISFRIEND_BOOL);
      basicUser.setFriend(isFriend);
    }
    // 'known': boolean,
    if (jsonUserObject.has(PurplemoonAPIConstantsV1.JSON_USER_ISKNOWN)) {
      boolean isKnown = jsonUserObject.getBoolean(PurplemoonAPIConstantsV1.JSON_USER_ISKNOWN);
      basicUser.setKnown(isKnown);
    }
    // 'notes': string,
    if (jsonUserObject.has(PurplemoonAPIConstantsV1.JSON_USER_NOTES)) {
      String notes = jsonUserObject.getString(PurplemoonAPIConstantsV1.JSON_USER_NOTES);
      basicUser.setNotes(notes);
    }
    // 'online_status': string,
    if (jsonUserObject.has(PurplemoonAPIConstantsV1.JSON_USER_ONLINESTATUS)) {
      String string = jsonUserObject.getString(PurplemoonAPIConstantsV1.JSON_USER_ONLINESTATUS);
      OnlineStatus status = APIUtility.toOnlineStatus(string);
      basicUser.setOnlineStatus(status);
    } else {
      basicUser.setOnlineStatus(OnlineStatus.OFFLINE);
    }

    // 'online_status_text': string,
    if (jsonUserObject.has(PurplemoonAPIConstantsV1.JSON_USER_ONLINESTATUSTEXT)) {
      String text = jsonUserObject.getString(PurplemoonAPIConstantsV1.JSON_USER_ONLINESTATUSTEXT);
      basicUser.setOnlineStatusText(text);
    }
    // 'online_since': timestamp
    if (jsonUserObject.has(PurplemoonAPIConstantsV1.JSON_USER_ONLINESINCE_TIMESTAMP)) {
      long timestamp =
          jsonUserObject.getLong(PurplemoonAPIConstantsV1.JSON_USER_ONLINESINCE_TIMESTAMP);
      basicUser.setOnlineSince(DateUtility.getFromUnixTime(timestamp));
    }
  }