The JSON viewer is a tool designed to display a JSON string in a structured and user-friendly format. Instead of viewing JSON as a string, which can be hard to read, the viewer presents the data in a clean, tree-like structure. This format simplifies exploring key-value pairs, arrays, and nested objects. The Viewer allows users to collapse or expand sections of the JSON, helping them focus on the parts of the data you need.
For example, here’s what a JSON file looks like when displayed in the JSON viewer:
This widget is useful for inspecting JSON web service request messages before sending them or for examining incoming web service responses.
The JSON Viewer has two properties. Only the "JSON data" field is required, which expects an expression resulting in a text string.
The Appearance property allows you to set the maximum height of the viewer window in pixels by entering a number.