Class DataJsonReader

java.lang.Object
com.leumanuel.woozydata.util.DataJsonReader

public class DataJsonReader extends Object
Utility class for reading JSON files into DataFrame objects. Uses Jackson ObjectMapper for JSON parsing.
Version:
1.0
Author:
Leu A. Manuel
  • Constructor Details

    • DataJsonReader

      public DataJsonReader()
  • Method Details

    • readJSON

      public static DataFrame readJSON(String filePath) throws Exception
      Reads a JSON file and converts it to a DataFrame. Expects JSON array of objects with consistent structure.
      Parameters:
      filePath - Path to the JSON file to read
      Returns:
      DataFrame containing the JSON data
      Throws:
      Exception - if there is an error reading or parsing the file