JSONEditor v1.0.1
Published by Soliant Consulting on May 5, 2021Updated on May 6, 2021
Tags: Data Presentation,Development,Hierarchy,Tree,Utility
Download Send To Carafe
Version: 1.0.1
Windows Tested: Yes
Offline Compatible: Yes
Description:
JSON is an ideal standard for passing data back and forth in FileMaker, but it’s not the easiest format to read or interact with. Large amounts of data and very structured notation can lead to simple mistakes causing a multitude of problems.
After installing the JSONEditor bundle, you should have sample data displaying in the web viewer. If not, please walk through the installation process again. Once you see sample data, we can begin the configuration process to bind bundle to the specific fields and scripts in FileMaker required for our use case.
To do so we’ll need a script to marshal some JSON data from FileMaker and pass it to the bundle for display and/or editing. We can also configure other options in the bundle to change its behavior and/or call FileMaker scripts in order to get the JSON back to FileMaker to be persisted or used for anything a script needs JSON for.
Configuration
Name | Description | Type |
---|---|---|
additionalCallbackParameters | Anything you want passed back to the script defined in the Callback option. | jsonObject |
callback | Name of the FileMaker script to call after a change is made and the debounce delay has passed without an additional change. The script will be called and passed a script parameter of the jsonValue as well as anything in additionalCallbackParameters. | text |
debounce | Number of milliseconds to wait after a change is made and the debounce delay has passed without an additional change. | number |
headerStyle | CSS to pass to the header. | text |
jsonValue | Initial data loaded into the JSONEditor. WARNING - Omitting this value will display sample data in the editor. | jsonObject |
options | This object will be passed directly to the underlying JSONEditor package. See a couple important options below, and a link to the documentation which documents all of the possible options. | jsonObject |
style | CSS to pass to the page. | text |
0 Comments