src/main/java/tracer/util/Initialization.java
/**
     * Reads the config.json file and parses the data into a usable
     * array of strings.
     * @return Array of configuration tokens.
     * @throws ParsingException If I/O operations had an issue.
     */
Reads the config.json file and parses the data into a usable
array of strings.
@return Array of configuration tokens.
@throws ParsingException If I/O operations had an issue.
Reads the config . json file and parses the data into a usable array of strings . @return Array of configuration tokens . @throws ParsingException If I / O operations had an issue .
public static String[] initializeTokens() throws ParsingException {
        String[] tokens = new String[2];
        InputStream configFile = TRacerExec.class.getClassLoader().getResourceAsStream("config.json");
        if (configFile == null) {
            lgr.error("JSON config file not found or could not be accessed.");
            return tokens;
        }
        DataObject config = DataObject.fromJson(configFile);
        tokens[0] = config.getString("Prefix");
        tokens[1] = config.getString("JDAToken");
        return tokens;
    }
public static String [ ] initializeTokens ( ) throws ParsingException { String [ ] tokens = new String [ 2 ] ; InputStream configFile = TRacerExec . class . getClassLoader ( ) . getResourceAsStream ( "config.json" ) ; if ( configFile == null ) { lgr . error ( "JSON config file not found or could not be accessed." ) ; return tokens ; } DataObject config = DataObject . fromJson ( configFile ) ; tokens [ 0 ] = config . getString ( "Prefix" ) ; tokens [ 1 ] = config . getString ( "JDAToken" ) ; return tokens ; }
Reads the config.json file and parses the data into a usable
 array of strings.
Reads the config . json file and parses the data into a usable array of strings .