{"id":26022774,"url":"https://github.com/primaryobjects/json-to-sqlite","last_synced_at":"2026-02-16T01:03:08.429Z","repository":{"id":278849116,"uuid":"936974002","full_name":"primaryobjects/json-to-sqlite","owner":"primaryobjects","description":"VSCode extension to convert JSON to SQLite.","archived":false,"fork":false,"pushed_at":"2025-03-06T02:46:34.000Z","size":1595,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T03:29:28.491Z","etag":null,"topics":["convert-json","convert-json-to-sqlite","extension","json","json-to-sqlite","json2sqlite","sqlite","sqlite3","vscode"],"latest_commit_sha":null,"homepage":"","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/primaryobjects.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2025-02-22T03:26:59.000Z","updated_at":"2025-02-25T17:34:36.000Z","dependencies_parsed_at":"2025-02-22T04:33:45.373Z","dependency_job_id":null,"html_url":"https://github.com/primaryobjects/json-to-sqlite","commit_stats":null,"previous_names":["primaryobjects/json-to-sqlite"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fjson-to-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fjson-to-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fjson-to-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fjson-to-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primaryobjects","download_url":"https://codeload.github.com/primaryobjects/json-to-sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242189959,"owners_count":20086669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["convert-json","convert-json-to-sqlite","extension","json","json-to-sqlite","json2sqlite","sqlite","sqlite3","vscode"],"created_at":"2025-03-06T10:26:24.453Z","updated_at":"2026-02-16T01:03:08.423Z","avatar_url":"https://github.com/primaryobjects.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-to-sqlite\n\nConvert a JSON file to an SQLite database right from VSCode!\n\n[Install](https://marketplace.visualstudio.com/items?itemName=primaryobjects.json-to-sqlite) in VSCode.\n\n![Screenshot](images/jsontosqlite.gif)\n\n## Quick Start\n\n1. Open your VSCode project.\n2. Right-click a JSON file such as `example.json`.\n3. Select the context menu **Convert JSON to SQLite**.\n4. A new file `example.sqlite` will be saved in the same directory. The database table name is the same as the filename **example**.\n\nTo preview an SQLite file contents:\n\n1. Right-click a SQLite file such as `example.sqlite`.\n2. Select the context menu **Preview SQLite File**.\n3. A message will display showing the top 3 records in the database.\n\n## Settings\n\nTo change the name of the table saved in the sqlite file, use the following steps.\n\n1. In VSCode, select **File-\u003ePreferences-\u003eSettings**.\n2. Search for **json-to-sqlite**.\n3. Enter a value for **Custom Table Name**.\n4. Uncheck the option **Use Filename As Table Name.**\n\n## Features\n\n- Convert any JSON file to SQLite.\n- Right-click a JSON file or use the command pallete **Ctrl-Shift-P-\u003eConvert JSON to SQLite** and choose a file.\n- Preview SQLite file contents.\n- Customize the table name stored in sqlite.\n\n## JSON Formats\n\nThe following JSON file formats are supported for conversion to SQLite:\n\n### Single Table Format Array\n\nThis results in a single table with the name of the JSON file or as configured in settings.\n\n```json\n[\n  {\n    \"id\": 1,\n    \"first_name\": \"Loella\",\n    \"last_name\": \"Albers\"\n  },\n  {\n    \"id\": 2,\n    \"first_name\": \"Laurie\",\n    \"last_name\": \"Strongman\"\n  }\n]\n```\n\n### Named Table Format\n\nThis results in a single table with the name \"locations\".\n\n```json\n{\n  \"locations\": [\n    {\n      \"id\": 0,\n      \"name\": \"Acme Fresh Start Housing\",\n      \"city\": \"Chicago\",\n      \"state\": \"IL\"\n    },\n    {\n      \"id\": 1,\n      \"name\": \"A113 Transitional Housing\",\n      \"city\": \"Santa Monica\",\n      \"state\": \"CA\"\n    }\n  ]\n}\n```\n\n### Multiple Named Table Format\n\nThis results in two tables with the names \"table1\" and \"table2\".\n\n```json\n[\n  {\n    \"table1\": [\n      {\n        \"id\": 0,\n        \"name\": \"Acme Fresh Start Housing\",\n        \"city\": \"Chicago\",\n        \"state\": \"IL\"\n      },\n      {\n        \"id\": 1,\n        \"name\": \"A113 Transitional Housing\",\n        \"city\": \"Santa Monica\",\n        \"state\": \"CA\"\n      }\n    ]\n  },\n  {\n    \"table2\": [\n      {\n        \"id\": 0,\n        \"name\": \"Acme Fresh Start Housing\",\n        \"city\": \"Chicago\",\n        \"state\": \"IL\"\n      },\n      {\n        \"id\": 1,\n        \"name\": \"A113 Transitional Housing\",\n        \"city\": \"Santa Monica\",\n        \"state\": \"CA\"\n      }\n    ]\n  }\n]\n```\n\n## Deployment\n\nTo deploy and publish the extension, use the following steps.\n\n1. Open a VS Code terminal window and use the command: `vsce package`\n2. In VS Code, open the Extensions tab and click '...' in the top-right and choose **Install from VSIX**.\n3. Select to install the newly packaged .vsix file created in step 1.\n4. Test the extension.\n5. Upload the package to the [marketplace](https://marketplace.visualstudio.com/manage).\n\n## License\n\nMIT\n\n## Author\n\nKory Becker http://www.primaryobjects.com/kory-becker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fjson-to-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimaryobjects%2Fjson-to-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fjson-to-sqlite/lists"}