public void writeToFileAndParseJSON() throws IOException, AdeException {
  fileWriter.write(jsonGroupObject.toString());
  fileWriter.flush();
  jsonGroupParser.parseJSON(jsonFile);
}

public void writeToFileAndParseJSON ( ) throws IOException , AdeException { fileWriter . write ( jsonGroupObject . toString ( ) ) ; fileWriter . flush ( ) ; jsonGroupParser . parseJSON ( jsonFile ) ; }
writes the json object to file and calls the parsejson method in the jsongroupparser object for testing .
