Компилятор выдает ошибки в коде:
public class Converter {

    public static void main(String[] args) throws IOException, ParseException {

    try {
        FileReader reader = new FileReader("./input.json");
    } catch (IOException e) {
        System.out.println(e.getMessage());
        System.exit(1);
}
    try {
        JSONParser jsonParser = new JSONParser();
    } catch (ParseException e) {
        System.out.println(e.getMessage());
    }

    JSONObject jo = (JSONObject) jsonParser.parse(reader);
Подскажите, пожалуйста, как победить?