code: public String[] getStringArray(String key) {
          try {
              return getValue(String[].class, key);
          } catch (ClassCastException e) {
              return new String[] { getString(key) };
          }
  
      }
docs: Get string array.
  
  @param key the key
  @return the string [ ]