Skip to main content

Widget JSON Viewer

Project description

License: LGPL-3

Widget JSON Viewer

A field widget (json_viewer) that renders a Text field containing JSON as an interactive, collapsible tree in read-only mode and as a validated textarea in edit mode.

Usage

Apply the widget to any text field in a form or tree view:

<field name="json_field" widget="json_viewer"/>

Features

  • Read-only mode — syntax-highlighted, expandable/collapsible tree view.

  • Edit mode — monospace textarea with real-time valid/invalid JSON feedback.

  • Tab support — pressing Tab in the editor inserts 4 spaces.

  • Graceful fallback — displays raw text if the stored value is not valid JSON.

  • Odoo 14 legacy JS — does not require OWL.

Installation

To install this module, you need to:

  1. Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-web

  2. Add the path to this repository in your configuration (addons-path)

  3. Update the module list

  4. Go to menu Apps -> Apps -> Main Apps

  5. Search For Widget JSON Viewer

  6. Install the module

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Contributors

Maintainer

PT. Simetri Sinergi Indonesia

This module is maintained by the PT. Simetri Sinergi Indonesia.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

File details

Details for the file odoo14_addon_ssi_web_widget_json-14.0.1.0.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_ssi_web_widget_json-14.0.1.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 49b1cd1e76ff8210be20820ab50063d95dcfab742f89145cac7ac9007083e58e
MD5 c92310c7600751a58ece67c8f45f3524
BLAKE2b-256 54f0d2ca219ffebf1693c5c73fc9a325552bf234d68175b6a388b421746a9b36

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