← Back to all workGitHubLearning and foundations
CSV and JSON Processing
Java examples for CSV reading/writing, bean mapping, and JSON conversion with OpenCSV and Gson.
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
CSV and JSON Processing / workflow
Move to tilt · Drag to rotate · Arrow keysDrag to rotate · Tap a component4 components · 3 connections
2D diagram
Trace connections 3 relationships
- Sample CSV files→OpenCSV reader
- OpenCSV reader→Java records
- Java records→CSV 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