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.1.tar.gz (31.6 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.1-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ckanext_json_viewer-1.0.1.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

Hashes for ckanext_json_viewer-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e377b26a08a07d91024611da9ea6015b171cbbf1a542038e440a4a220143b30e
MD5 ae8bec801daec304ac32b38212b83cdb
BLAKE2b-256 a0b4c3271fdd6604fe406da418f02485a0ecfbe893591393139315e5d53028ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ckanext_json_viewer-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2079cb6f8cb5ef6768b275b0cfcf85ded28b41c6ca746205958039bd3c7f08a1
MD5 886d492b77f654454041fee82d7b9ac9
BLAKE2b-256 d63b69180301263cc5b7a1f789b615c06435e59f8e64a726a6d58bf9c7c123fe

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