Enabling Pretty-Formatted JSON and XML Viewing in Silk Performer

  1. Within a BDL script that includes JSON- or XML-formatted data, right-click within the screen data that you want to view.
  2. Select your preferred viewing format from the context menu.
    • Select Format As > JSON to format the data in enhanced JSON format.
    • Select Format As > XML to format the data as raw XML.
    You can also select Format As > Auto Format from the context menu to have Silk Performer determine the best formatting option for screen data types. By default, JSON and XML data is pretty-formatted in BDF scripts.
  3. Right-click formatted data strings to access Silk Performer’s standard string customization commands.
    Note: Because formatted JSON data is integrated into the Silk Performer code editor, JSON-formatting can be undone/redone using the Undo/Redo buttons on the toolbar.
    Note: Pretty-formatted JSON and XML data viewing is also available in TrueLog Explorer.