Data Management
View and edit JSON files and SQLite databases with built-in viewers
Overview
TeamIDE includes specialized viewers for working with structured data:
- JSON Viewer - Table view for JSON arrays with inline editing
- SQLite Browser - Full database browser with query console
- Markdown Embeds - Embed live data tables in documentation
These viewers open automatically when you click a
.json, .db, or .sqlite
file.
JSON Viewer
When you open a JSON file containing an array, TeamIDE displays it as an editable table.
Table Features
| Feature | Description |
|---|---|
| Column Headers | Auto-detected from object keys |
| Search | Filter rows by typing in the search box |
| Sort | Click column headers to sort ascending/descending |
| Inline Edit | Double-click any cell to edit its value |
| Add Row | Click + Add Row to insert a new record |
| Delete Row | Click the trash icon on any row |
| Save | Click Save to write changes back to the file |
Unsaved Changes
An orange badge appears when you have unsaved changes. Click Save to persist your edits to the file.
JSON Objects
If the JSON file contains an object (not an array), it displays as a formatted read-only tree view.
Value Types
When editing, values are automatically converted: -
"true" or "false" → boolean -
"123" or "45.67" → number -
"null" → null
SQLite Browser
When you open a .db, .sqlite, or
.sqlite3 file, TeamIDE displays a full database
browser.
Table Navigator
The left sidebar lists all tables in the database: - Click a table name to view its data - Click Refresh to reload the table list
Viewing Data
The main area displays table data with: - Row count badge showing total records - Pagination for large tables (100 rows per page) - Search box - type and press Enter to filter rows
Adding Rows
- Click + Add Row
- Fill in the form fields (column types are shown)
- Primary key fields are marked with “PK”
- Click Save to insert the row
Editing Rows
- Click the Edit button on any row
- Modify fields in the dialog
- Primary key fields cannot be changed
- Click Save to update the row
Deleting Rows
- Click the Delete button on any row
- Confirm the deletion
- The row is permanently removed
Schema Inspector
Click View Schema to see the table structure: - Column names and data types - Nullable status - Primary key indicators - Default values
SQL Console
For advanced queries, toggle the SQL Console at the bottom:
- Click SQL Console to expand
- Write a SELECT query
- Press Cmd/Ctrl+Enter or click Run
- Results display below (up to 100 rows)
Note: Only SELECT queries are allowed in the console. Use the Add/Edit/Delete buttons for data modifications.
Markdown Data Embeds
Embed live data tables directly in your markdown documentation using special fence blocks.
JSON Table Embed
Display data from a JSON file as a table in your markdown:
```json-table
path: data/users.json
columns: id,name,email
search: true
```
Attributes:
| Attribute | Required | Description |
|---|---|---|
path |
Yes | Path to JSON file (relative to project root) |
columns |
No | Comma-separated list of columns to show |
search |
No | Set to true to show search box |
SQL Query Embed
Display results from a SQLite query as a table:
```sql-table
path: data/app.db
query: SELECT id, name, email FROM users WHERE active = 1
columns: ID, Name, Email
```
Attributes:
| Attribute | Required | Description |
|---|---|---|
path |
Yes | Path to SQLite database file |
query |
Yes | SELECT query to execute |
columns |
No | Custom column headers (comma-separated) |
Note: Only SELECT queries are allowed for security.
Embed Features
Embedded tables include: - Refresh button - Reload data from source file - Compact display - Optimized for inline viewing - Live data - Always shows current file contents
Use Cases
- Data dictionaries - Document database schemas
- Sample data - Show example records in docs
- Reports - Embed query results in documentation
- Dashboards - Create data-driven markdown pages
Supported File Types
| Extension | Viewer |
|---|---|
.json |
JSON Table Viewer |
.db |
SQLite Browser |
.sqlite |
SQLite Browser |
.sqlite3 |
SQLite Browser |
Tips
Working with Large JSON Files
- Use search to filter to relevant rows
- Sort by clicking column headers
- Add rows at the bottom of the table
SQLite Best Practices
- Use the schema inspector to understand table structure
- Write complex queries in the SQL Console
- Use pagination to navigate large result sets
Effective Embeds
- Keep embedded tables focused (filter columns)
- Use descriptive column headers in SQL embeds
- Add search for tables users need to filter
Related
- Code Module - File explorer and editor
- Markdown Reference - Markdown syntax guide
Changelog
| Date | Change |
|---|---|
| 2026-02-02 | Initial documentation |