public static JSONValue parse(TokenReader tokens, String currentToken)
			throws IOException, ParseException {
		switch (currentToken.charAt(0)) {
		case 'n':
			return parseNull(tokens, currentToken);
		case 't':
			return parseTrue(tokens, currentToken);
		case 'f':
			return parseFalse(tokens, currentToken);
		}
		tokens.parseAssert(false, currentToken + " is not a JSONLiteral");
		return null;
	}