Convert STC to JSON
Turn STC documents into JSON files. One JSON file per worksheet, hidden ones included: an array with one object per row, keyed by the sheet's first row.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop STC files on the dialor turn it to pick what to do
Spreadsheet rows as JSON data.Each worksheet becomes its own JSON file, with one object per row.
What you get
One JSON file per worksheet, and hidden worksheets are included. Each file holds an array with one object per row. The keys come from the first row of the sheet.
Formulas give their last computed values. Numbers are typed as numbers, and dates are written as YYYY-MM-DD. Booleans stay the text TRUE or FALSE, not JSON true or false.
One sheet or all of them
Every worksheet is converted unless you choose one. Set Sheet to a name or to a number counting from 1, and only that worksheet is written.
A sheet with only one row becomes an empty array.
Using the result
Each worksheet is its own file, so a workbook with several sheets gives several JSON files. To join files afterward, you can merge JSON. For other options, see every JSON conversion.
STC and JSON.What each format is, and the options this conversion takes.
- 01 · sheet
Sheet
The one worksheet to convert, by its name or by its number counting from 1. Every worksheet is converted when it is left out.
The formats
OpenOffice.org 1.0 Spreadsheet Template
A Calc template from OpenOffice.org 1.x and StarOffice 6 and 7.
- Extensions
- .stc
- MIME type
- application
/vnd .sun .xml .calc .template - Kind
- Documents
JSON
JSON, the data format of every API.
- Extensions
- .json
- MIME type
- application
/json - Kind
- Text and data
In your code.The same STC to JSON conversion through the API, for your app or your agent.
$ cv convert report.stc report/ --to json$ cv convert report.stc report/ --to jsonQuestions.What people ask about STC to JSON.
Yes. Every worksheet gets its own JSON file, hidden ones included. Set Sheet to convert only one.
From the first row of each sheet. Each later row becomes an object using those keys.
No. Formulas give their last computed values.
No. Booleans stay the text TRUE or FALSE.