Skip to main content

JSON tree preview

Project description

ckanext-json-viewer

A CKAN extension that provides an interactive JSON viewer for resource visualization, powered by json-viewer.

view example

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

See config declaration file

Tests

To run the tests, do:

pytest --ckan-ini=test.ini

License

AGPL

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.3.tar.gz (130.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ckanext_json_viewer-1.0.3-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file ckanext_json_viewer-1.0.3.tar.gz.

File metadata

  • Download URL: ckanext_json_viewer-1.0.3.tar.gz
  • Upload date:
  • Size: 130.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for ckanext_json_viewer-1.0.3.tar.gz
Algorithm Hash digest
SHA256 18d2ecfc64bebd612bae91013c21d48bea1555f4097772a41c865c127359bed9
MD5 b674296f263dd0c4e6d1291d87fcb0bc
BLAKE2b-256 c9fc4f9eeddc780bbba308ba80f33c83be7e0a1c0a5727f51ba3aa11dee76bb2

See more details on using hashes here.

File details

Details for the file ckanext_json_viewer-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ckanext_json_viewer-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b5bab5a4bb494b2ebe81b63c591869ac9a29de1250e2d7cc23d07f48d743ff8f
MD5 c05caa30dc37414eee96a4e90c71c1b4
BLAKE2b-256 f0d01ca0f6c19d2327b7d726083300ab72aa9d3bc434af60211c30a223d1b05a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page