• Reads a JSON array file and splits its content into chunks.

    Type Parameters

    • T

    Parameters

    • filePath: string

      Path to JSON array file.

    • chunkSize: number

      Number of items per chunk.

    Returns T[][]