code: public String getString(String name, boolean strict) throws JsonException {
          JsonElement el = get(name);
          String res = null;
          if (strict && !el.isString()) {
              throw Util.typeMismatch(name, el, "string", true);
          }
          res = el.toString();
          if (res == null)
              throw Util.typeMismatch(name, el, "string", strict);
          return res;
      }
docs: Returns the value mapped by {@code name} if it exists, coercing it if
  necessary, or throws if no such mapping exists.
  
  @throws JsonException if no such mapping exists.