Convert FODS to JSON
Turn FODS 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 FODS files on the dialor turn it to pick what to do
Spreadsheet rows as JSON objects.Each worksheet becomes its own JSON file, with one object per row.
What you get
One JSON file for every worksheet in the FODS file, hidden sheets included. Each file holds an array with one object per row. The keys come from the first row of that sheet.
Numbers are typed as numbers. Dates are written as YYYY-MM-DD. Formulas give their last computed values, not the formulas themselves.
What changes
Booleans stay the text TRUE or FALSE, not JSON true or false. If you need real booleans, change them after the conversion.
The first row is used for keys, so it does not appear as a row of data. A sheet with only one row becomes an empty array, because there are no rows below the keys.
Choosing one sheet
Set Sheet to convert one worksheet. Give its name or its number counting from 1. When Sheet is left out, every worksheet is converted.
For more on this format, see every FODS conversion or every JSON conversion.
FODS 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
Flat OpenDocument Spreadsheet
An OpenDocument spreadsheet saved as one plain XML file instead of a zip.
- Extensions
- .fods
- MIME type
- application
/vnd .oasis .opendocument .spreadsheet -flat -xml - 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 FODS to JSON conversion through the API, for your app or your agent.
$ cv convert report.fods report/ --to json$ cv convert report.fods report/ --to jsonQuestions.What people ask about FODS to JSON.
It makes one JSON file per worksheet. Hidden worksheets are included.
No. Each formula gives its last computed value.
Dates are written as YYYY-MM-DD. Numbers are typed as numbers.
The sheet has only one row. That row is used for the keys, so no data rows are left.