{"id":51143615,"url":"https://github.com/appliedmedia/gsheet2json","last_synced_at":"2026-06-26T01:01:28.846Z","repository":{"id":363190620,"uuid":"1262113156","full_name":"appliedmedia/gsheet2json","owner":"appliedmedia","description":"Google Workspace Plug-in to Export and Import Google Sheet Tabs as JSON via Google Drive or Local Files for easy AI parsing","archived":false,"fork":false,"pushed_at":"2026-06-15T01:08:18.000Z","size":16174,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-15T01:19:30.247Z","etag":null,"topics":["gdrive","gsheet","json","parsing"],"latest_commit_sha":null,"homepage":"https://gsheet2json.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appliedmedia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2026-06-07T15:36:36.000Z","updated_at":"2026-06-15T00:45:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/appliedmedia/gsheet2json","commit_stats":null,"previous_names":["appliedmedia/gsheet2json"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/appliedmedia/gsheet2json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appliedmedia%2Fgsheet2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appliedmedia%2Fgsheet2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appliedmedia%2Fgsheet2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appliedmedia%2Fgsheet2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appliedmedia","download_url":"https://codeload.github.com/appliedmedia/gsheet2json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appliedmedia%2Fgsheet2json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34798183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gdrive","gsheet","json","parsing"],"created_at":"2026-06-26T01:01:27.785Z","updated_at":"2026-06-26T01:01:28.826Z","avatar_url":"https://github.com/appliedmedia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gsheet2json\n\n![CI](images/ci.svg) ![Coverage](images/coverage.svg) ![License](images/license.svg)\n\n![gsheet2json sidebar open on a Google Sheet](images/g2j_hero.png)\n\nRound-trip a Google Sheets tab to structured JSON and back, preserving values, formatting, formulas, data validations, dimensions, named ranges, and merged cells. Built for AI workflows: hand a tab to an LLM as JSON, let it edit, then import the result as a new tab with the formatting intact.\n\n## Install\n\ngsheet2json is a Google Sheets editor add-on. Install it from the Google Workspace Marketplace; the home and install link is [gsheet2json.com](\u003chttps://gsheet2json.com\u003e). Once installed, open it from any sheet via Extensions, then gsheet2json, then Open.\n\n## Using the sidebar\n\nThe add-on runs entirely in a sidebar inside Google Sheets. There are no external servers, and your data stays in your Google account.\n\n* **Import** and **Export** are the two action cards, and each offers a local-file option and a Google Drive option.\n* **Export** writes the active tab to a timestamped JSON file, saved to your Drive or downloaded locally.\n* **Import** loads JSON from Drive, a local file, or pasted text into a staging editor. You review or edit it there, then run the import, which rebuilds the tab as a new sheet.\n* A **progress bar** tracks long operations, since large sheets encode and decode server-side with live progress.\n* An **activity log** records every operation with a success or failure marker and per-entry actions (open the Drive file, re-download, or forget the entry).\n\n## JSON format\n\nAn export is a single JSON object describing one tab:\n\n```json\n{\n  \"sheetName\": \"WebEval\",\n  \"rowHeights\":   { \"r_00000\": 28, \"r_00001\": \"r_00000\" },\n  \"columnWidths\": { \"c_00000\": 50, \"c_00001\": 220 },\n  \"styles\":       { \"s_base\": {}, \"s_score\": { \"base\": \"s_base\", \"bg\": \"#fff7e6\" } },\n  \"validations\":  { \"dv_list\": { \"criteriaType\": \"VALUE_IN_LIST\", \"values\": [\"A\", \"B\"] } },\n  \"cells\":        { \"r_00005_c_00004\": { \"t\": \"n\", \"v\": 3, \"s\": \"s_score\" } }\n}\n```\n\n### Styles\n\nStyles are deduplicated to keep files small without losing fidelity.\n\n* The first entry is always `s_base`, the most common style in the sheet. A cell with no `s` field inherits `s_base`.\n* Other entries are either standalone (fully populated) or a delta: a `base` pointer plus only the properties that differ. Delta chains are bounded at three levels and are cycle-free.\n* No reported property is dropped for merely looking like a default, which prevents silent inheritance bugs.\n\n### Cells\n\nEach cell entry is keyed `r_NNNNN_c_NNNNN` and may carry:\n\n* `v` for the value and `t` for the type (`s` string, `n` number, `b` boolean, `d` date, `f` formula).\n* `s` for the style id, omitted when it matches `s_base`.\n* `f` for a formula, `l` for a named-range label, and `dv` for a data-validation id.\n* `merge` on the top-left cell of a merged range, encoding the additional rows and columns to span.\n\n## Development\n\n```bash\nnpm install\nnpm run build      # tsc, then rename outputs to .gs and copy the sidebar HTML + manifest\nnpm run push       # build, then clasp push --force\nnpm test           # type-check the suite and run the cucumber tests (excludes @gas)\n```\n\n`.clasp.json` holds the Apps Script project id and is not committed; create your own to push to a project you control. See [src/](\u003csrc\u003e) for the add-on source, [features/](\u003cfeatures\u003e) for the test suite, and [scripts/](\u003cscripts\u003e) for build and release tooling.\n\n## Help and community\n\n* Questions and ideas: GitHub Discussions on this repository.\n* Bugs and support: [g2j.support](\u003chttps://g2j.support\u003e).\n* Privacy policy and terms: [docs/](\u003cdocs\u003e).\n\n## License\n\nCode Transparency v1; see [LICENSE](\u003cLICENSE\u003e). You may view, audit, and submit pull requests. Redistribution, derivative works, and commercial use require a separate license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappliedmedia%2Fgsheet2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappliedmedia%2Fgsheet2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappliedmedia%2Fgsheet2json/lists"}