JSON tree preview
Project description
ckanext-json-viewer
A CKAN extension that provides an interactive JSON viewer for resource visualization, powered by json-viewer.
Features
- Interactive JSON visualization with collapsible tree structure
- Syntax highlighting for better readability
- Easy navigation through complex JSON data
- Seamless integration with CKAN's resource views
Requirements
Compatibility with core CKAN versions:
| CKAN version | Compatible? |
|---|---|
| 2.9 and earlier | not tested |
| 2.10+ | yes |
Installation
Install from source
pip install -e .
Or use pip
pip install ckanext-json-viewer
Enable the plugin and the view in your CKAN config file:
ckan.plugins = json_viewer
ckan.views.default_views = json_viewer
Config settings
Tests
To run the tests, do:
pytest --ckan-ini=test.ini
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ckanext_json_viewer-1.0.0.tar.gz
(31.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ckanext_json_viewer-1.0.0.tar.gz.
File metadata
- Download URL: ckanext_json_viewer-1.0.0.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45de22831e4ab0aeef4e4539075ce3b63d614f7aa235a4f2e8b2dd1b7b658425
|
|
| MD5 |
9f3972120d5f2bd20161d7c4c64da186
|
|
| BLAKE2b-256 |
d8f66ba92d43457bcf4569f323aa7155beb1534ed4b316082eba1e563319778e
|
File details
Details for the file ckanext_json_viewer-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ckanext_json_viewer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31e8ac24f044e1ffbca923efaf19f14b0e1e0624f27fb2ab8ebfd6551631688a
|
|
| MD5 |
303436a29d7beb1b3b0a2b13191d8971
|
|
| BLAKE2b-256 |
53e466d4f8517f3e21ca6b9900048c7d6506238c7719b0e1436bdde4073fd169
|