“We are a way for the cosmos to know itself.”
― Carl Sagan, Cosmos
1. Introduction
Let us today look into converting a large CSV to JSON without running into memory issues. This previous article showed how to parse CSV and output the data to JSON using Jackson. However, since that code loads the entire data into memory, it will run into issues loading large CSV files such as: