Skip to Content
Menu

JSON Editor Widget

by
Odoo

99.00

v 18.0 Third Party
Live Preview
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1533
Technical Name json_editor_widget
LicenseLGPL-3
Websitehttps://www.ylhctec.com
Versions 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1533
Technical Name json_editor_widget
LicenseLGPL-3
Websitehttps://www.ylhctec.com
Versions 17.0 18.0

JSON Editor Widget - Generic JSON Editor Component

Making JSON Data Editing Simple and Efficient

Module Overview

JSON Editor Widget is a generic JSON editor component specifically designed for Odoo 18, providing powerful and flexible JSON data editing capabilities. This component can be easily integrated into any Odoo form view, supporting schema-based structured editing to make complex JSON data management simple and intuitive.

Whether you need to edit configuration files, API parameters, product attributes, or any other JSON formatted data, this component provides you with a professional-grade editing experience.

Core Features

🎯 Schema-Driven Editing

Supports structured editing defined by JSON Schema, ensuring data format correctness and consistency, reducing input errors

🎨 Bootstrap 4 Theme

Perfectly integrates with Odoo interface design, providing consistent user experience with responsive layout support

🌈 Color Picker

Built-in color selection functionality supporting multiple color formats, making color configuration simple and intuitive

📁 Collapsible Sections

Supports folding and expanding of nested objects, optimizing the editing experience for large JSON data

⚙️ Backend Configuration

Schema can be dynamically configured from the backend, adapting to different business needs without modifying frontend code

🔧 High Versatility

Can be used in any scenario requiring JSON editing, supporting various data types and complex nested structures

Demo Screenshot

JSON Editor Widget Screenshot

Usage

Using the JSON editor component in form views is very simple:

<field name="json_field" widget="json_editor_widget" options="{'schema': schema_dict}"/>
            

Where schema_dict is the JSON Schema dictionary you define in the backend, used to define the structure and validation rules of JSON data.

Schema Example:

schema = {
    "type": "object",
    "properties": {
        "name": {"type": "string", "title": "Name"},
        "age": {"type": "integer", "title": "Age"},
        "email": {"type": "string", "format": "email", "title": "Email"},
        "color": {"type": "string", "format": "color", "title": "Color"}
    }
}
            

Use Cases

  • Product Configuration Management: Manage complex product attributes and specification parameters
  • System Settings: Edit system configuration files and parameters
  • API Interface Configuration: Manage third-party API request parameters
  • Report Templates: Define dynamic report formats and parameters
  • Workflow Configuration: Set complex business process parameters
  • Permission Management: Configure fine-grained permission control rules

Technical Requirements

  • Odoo 18.0 or higher
  • Dependencies: base, web
  • Browser Support: Modern browsers (Chrome, Firefox, Safari, Edge)

Technical Support

  • Detailed installation and configuration guidance
  • Custom Schema design recommendations
  • Integration issue solutions
  • Performance optimization suggestions
  • Custom development services

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.