https://github.com/dario-baumberger/obsidian-json-table
Simply switch between JSON and tables in your Obsidian notes.
https://github.com/dario-baumberger/obsidian-json-table
json md obisidian obsidian-md obsidian-plugin
Last synced: about 1 year ago
JSON representation
Simply switch between JSON and tables in your Obsidian notes.
- Host: GitHub
- URL: https://github.com/dario-baumberger/obsidian-json-table
- Owner: dario-baumberger
- License: mit
- Created: 2023-10-15T16:04:26.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T18:35:47.000Z (about 2 years ago)
- Last Synced: 2024-05-22T18:59:56.161Z (about 2 years ago)
- Topics: json, md, obisidian, obsidian-md, obsidian-plugin
- Language: TypeScript
- Homepage:
- Size: 5.65 MB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
[](https://github.com/dario-baumberger/obsidian-json-table/actions/workflows/build.yml)
[](obsidian://show-plugin?id=json-table)

[](https://github.com/dario-baumberger/obsidian-json-table/blob/master/LICENCE)
# Obsidian JSON table
Simply switch between JSON and tables.
Generate a table from a JSON string or a URL (which returns JSON) in your notes. Generate JSON from a table in your notes.
## Commands
| Command | Description |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Generate table from selected JSON | Creates a Markdown table based on your selected JSON. The JSON needs to be valid. |
| Generate table from selected JSON URL | Creates a Markdown table based on JSON data from selected URL. The URL needs to return a valid JSON. |
| Generate JSON from a selected table | Creates JSON based on your selected table. |
### Examples
#### Table
```
| Name | Age | City |
| ---- | --- | ------ |
| Doe | 22 | Berlin |
| Pan | 34 | Mumbai |
```

#### JSON
```
[{"Name":"Doe","Age":"22","City":"Berlin"},{"Name":"Pan","Age":"34","City":"Mumbai"}]
```

#### URL
- `https://raw.githubusercontent.com/dario-baumberger/obsidian-json-table/master/demo/example.json`
- `https://jsonplaceholder.typicode.com/todos`

## Installation
### Community Plugin
- Follow this link [Obsidian Plugin](https://obsidian.md/plugins?id=json-table)
- Or open Obsidian Settings, go to Community Plugins, browse "JSON Table" click install and activate.
### Manually installing the plugin
- Go to the latest [Releases](https://github.com/dario-baumberger/obsidian-json-table/releases)
- Download `main.js`, `manifest.json`
- save into your vault `VaultFolder/.obsidian/plugins/obsidian-json-to-table/`
## Contribution
- Feel free to [open an issue](https://github.com/dario-baumberger/obsidian-json-table/issues) if you miss something
- Feel free to open a Pull request to implement a feature
- Please extend tests if you add logic