Json format for API Documint to generate PDF files from table

Hey @agaitan026!

If you're just looking to generate an array I would try using map! Does something like this work?

const categorizedData = yourDataArray.map((row) => ({name: row.name, quantity: row.quantity}));
1 Like