Brother International DCP-L5600DN Mass Deployment Tool Users Guide - Page 25
Create JSON Files, JSON Output
View all Brother International DCP-L5600DN manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 25 highlights
The structure of JSON settings files and the placement of individual setting entries are described in JSON schema files. For example, the "sleep_time" setting must be located at $.settings.general.sleep_mode.sleep_time and will accept only numerical values. There are three ways to create and edit JSON settings files: Method Description Using text editors Edit the settings files you want in a text editor. We recommend using JSON-supported text editors such as Notepad++, because they allow for greater control when viewing, editing, and formatting JSON files. Using JSON-schema supported JSON editors Edit settings files using a third-party editor that supports JSON-schemas. The interface of such editors allows changing setting values based on a schema-defined structure. Using scripts/programs Create settings files using scripts or other software. You can construct a JSON file from scratch, or parse the base JSON file and then modify its setting values. 5.3 Create JSON Files Any JSON-supported text editor can be used to create and edit settings files. To use JSON settings files, you need a JSON schema file containing all the configurable elements on Brother devices. 1. Prepare the JSON schema file. Default schema files can be found in the Schema folder in the Mass Deployment Tool's folder on your computer. Before you proceed, make sure you have the correct schema file for your model. For a list of available schema files and applicable models, see the README.TXT file in the "schema" folder. You will need this information later. 2. Edit the JSON settings file in a text editor file. 3. You can now use the Mass Deployment Tool to apply the settings remotely or use a USB flash drive to apply the settings at the device. Creating and editing settings files using an online JSON editor (example) 1. In your web browser, go to http://www.jeremydorn.com/json-editor/. 2. Open the Brother JSON schema file in a text editor file and copy and paste its contents into the "Schema" field on the web page. The attributes section appears at the top of the page. 3. Scroll down to the settings section, and select "object" from the general drop-down list. The General settings options appear. 4. Select "object" from the contact_and_location drop-down list. 5. Enter the contact and location details you want. 6. Scroll up to the JSON Output area at the top of the page, and then click the Update Form button. 7. The updated code appears in the preview field. Copy the JSON output and paste it into the text editor. 8. Use the Mass Deployment Tool to apply the setting remotely or use a USB flash drive to apply the setting at the device. 22