code: private void parseReadOnly(CloudTrailEventData eventData) throws IOException {
          jsonParser.nextToken();
          Boolean readOnly = null;
          if (jsonParser.getCurrentToken() != JsonToken.VALUE_NULL) {
              readOnly = jsonParser.getBooleanValue();
          }
          eventData.add(CloudTrailEventField.readOnly.name(), readOnly);
      }
docs: Parses the event readOnly attribute.
  
  @param eventData
  
  @throws JsonParseException
  @throws IOException