Repository navigation
Issue transforming workbook to json #5177
Unanswered
el-greco14
asked this question in
Q&A | 常见问题
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to transform the workbook to a json using the below method:
import { transformWorkbookDataToSnapshotJson } from '@univerjs-pro/exchange-client';
const snapshotJson = transformWorkbookDataToSnapshotJson(workbookData);
however I'm only getting a small json with basic metadata, workbook structure, no. of sheets etc. I am not getting the full data of each sheet.
what type of object should I pass to this method? I am passing the workbook instance to it - which I'm getting via getActiveWorkbook()
All reactions