← Back to all work
GitHubLearning and foundations

CSV and JSON Processing

Java examples for CSV reading/writing, bean mapping, and JSON conversion with OpenCSV and Gson.

STATUSHistorical learning project; current execution not revalidated in this review.
FOCUSLearning and foundations
DIAGRAM SCOPEWorkflow overview

THE PROBLEM

What it sets out
to solve.

Understand how structured file rows become typed records and serialized output.

THE APPROACH

How it comes
together.

Individual reader, writer, and conversion classes operate on included CSV/JSON samples under a Gradle project.

UNDER THE HOOD

Follow the workflow.

Trace the components.
Select a node for its role in the system.

Documented implementation workflow4 COMPONENTS
INTERACTIVE 3DCSV and JSON Processing
JavaOpenCSVGson
Move to tilt · Drag to rotate · Arrow keysDrag to rotate · Tap a component4 components · 3 connections
2D diagram
Trace connections 3 relationships
  1. Sample CSV filesOpenCSV reader
  2. OpenCSV readerJava records
  3. Java recordsCSV or JSON output

Select a component to see how it fits into the system.

CAPABILITIES

What’s inside.

  • 01

    Read and write CSV examples

  • 02

    Map CSV rows to Java beans

  • 03

    Convert records using Gson

Let’s build something useful.

Start a conversation ↗