1. Learn
  2. /
  3. Courses
  4. /
  5. Importing Data in Java

Connected

Exercise

Importing nested data

You're building an HR dashboard, and the employee data arrives as a nested JSON file. Real-world JSON often contains hierarchical structures, but Tablesaw can automatically flatten these into a tabular format.

Your task is to load the nested JSON, explore its flattened structure, and filter for a specific employee. The JsonReader, JsonReadOptions, and Table classes have been imported for you.

Instructions

100 XP
  • Configure the JSON read options with a custom table name.
  • Load the JSON file into a table.
  • Filter the table to find the employee named "Alice".