code: public static GcloudStructuredLog parse(String jsonString) throws JsonParseException {
      Preconditions.checkNotNull(jsonString);
      try {
        GcloudStructuredLog log = new Gson().fromJson(jsonString, GcloudStructuredLog.class);
        if (log == null) {
          throw new JsonParseException("Empty input: \"" + jsonString + "\"");
        }
        return log;
      } catch (JsonSyntaxException e) {
        throw new JsonParseException(e);
      }
    }
docs: Parses a JSON string representing {@code gcloud} structured log output.
  
  @return parsed JSON
  @throws JsonParseException if {@code jsonString} has syntax errors or incompatible JSON element
  type