JSON Editor/Viewer widget

Content Type: Widget
Categories: Data

Overview

This widget will view or edit a JSON object that is stored in a String attribute on an Entity

Documentation

JSON Editor/Viewer for Mendix

This widget can view and edit a JSON object. The object is stored in a String attribute on an Entity

Compatibility

The widget should be compatible with Mendix 5.21 and higher. The widget itself was built and tested in Mendix 7, but uses API's that are in Mendix 5 and 6 as well.

Features

  • View JSON
  • Edit JSON

Dependencies

This widget is built using the widget-base setup in combination with widget-base-helpers. The following external libraries are used:

TODO

  • Add schema for validation
  • Add objects for easy insertion

Configuration

The widget configuration speaks for itself. You should choose a String attribute that contains the JSON object. You can set readOnly or not.

License

This widget is licensed undewr Apache 2.0

Releases

Version: 1.3.0
Framework Version: 7.23.0
Release Notes: - Update jsoneditor libary to 8.1.2 due to IE issues in strict mode
Version: 1.2.0
Framework Version: 7.23.0
Release Notes: - Add #7 : Update jsoneditor library to fix issues with IE11 - Show empty editor when JSON is not valid, instead of not showing anything - Add subscriptions to widget so it will update when the object updates
Version: 1.1.2
Framework Version: 7.23.0
Release Notes: Fix issue #6, runtimegenerator included in bablerc