{"id":42934931,"url":"https://github.com/fwilhe2/json-to-ods","last_synced_at":"2026-01-30T19:15:03.940Z","repository":{"id":286498183,"uuid":"961583803","full_name":"fwilhe2/json-to-ods","owner":"fwilhe2","description":"CLI tool to convert json files into Open Document Spreadsheet files.","archived":false,"fork":false,"pushed_at":"2025-10-05T07:26:26.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T09:12:44.223Z","etag":null,"topics":["libreoffice","libreoffice-calc","opendocument","spreadsheet"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fwilhe2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-06T20:06:40.000Z","updated_at":"2025-10-05T07:26:30.000Z","dependencies_parsed_at":"2025-04-06T21:21:33.045Z","dependency_job_id":"e4d3e9f2-0533-47c6-b639-0e06c5158e6f","html_url":"https://github.com/fwilhe2/json-to-ods","commit_stats":null,"previous_names":["fwilhe2/mkods","fwilhe2/json-to-ods"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/fwilhe2/json-to-ods","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwilhe2%2Fjson-to-ods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwilhe2%2Fjson-to-ods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwilhe2%2Fjson-to-ods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwilhe2%2Fjson-to-ods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwilhe2","download_url":"https://codeload.github.com/fwilhe2/json-to-ods/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwilhe2%2Fjson-to-ods/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28917608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T19:10:10.838Z","status":"ssl_error","status_checked_at":"2026-01-30T19:06:40.573Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["libreoffice","libreoffice-calc","opendocument","spreadsheet"],"created_at":"2026-01-30T19:15:03.403Z","updated_at":"2026-01-30T19:15:03.926Z","avatar_url":"https://github.com/fwilhe2.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-to-ods\n\nCLI tool to convert json files into Open Document Spreadsheet files.\n\nPowered by [rechenbrett](https://github.com/fwilhe2/rechenbrett).\n\nRelated: [csv-to-ods](https://github.com/fwilhe2/csv-to-ods)\n\n## Motivation\n\nThis tool is helpful to transform existing data into a spreadsheet in cases where this might help with understanding or analyzing data.\nThe json format used is meant as an intermediate format that can be created by a script.\n\nFor example, if your data is in a complex xml or json structure, you might write a script in any language that is good for transforming data structures and leave the complexity of the Open Document Format to this too.\n\nIf you need more flexibility, feel free to build your own tool based on the [rechenbrett](https://github.com/fwilhe2/rechenbrett) library.\n\n## Usage\n\nCreate a file called `input.json` with contents in a format like this:\n\n```json\n[\n    [\n        {\n            \"value\": \"foo\",\n            \"type\": \"string\"\n        },\n        {\n            \"value\": \"23.32\",\n            \"type\": \"float\",\n            \"range\": \"one\"\n        }\n    ],\n    [\n        {\n            \"value\": \"2022-02-02\",\n            \"type\": \"date\"\n        },\n        {\n            \"value\": \"23.32\",\n            \"type\": \"float\",\n            \"range\": \"two\"\n        }\n    ],\n    [\n        {\n            \"value\": \"SUM(B1:B2)\",\n            \"type\": \"formula\"\n        },\n        {\n            \"value\": \"AVERAGE(B1:B2)\",\n            \"type\": \"formula\"\n        }\n    ]\n]\n```\n\nUse the cli like in this example:\n\n```bash\njson-to-ods -input input.json -flat -output output.fods\n```\n\nThis will produce an Open Document Spreadsheet file.\n\nIf you omit the `flat` flag, a zipped Open Document Spreadsheet file will be created.\nUse the `.ods` file extension in that case.\n\nCheck the [samples](./samples/) directory for more sample files.\n\n## License\n\nThis software is written by Florian Wilhelm and available under the MIT license (see `LICENSE` for details)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwilhe2%2Fjson-to-ods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwilhe2%2Fjson-to-ods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwilhe2%2Fjson-to-ods/lists"}