How to import a JSON document to a testsheet
- Last Updated: March 12, 2025
- 1 minute read
- Corticon
- Documentation
You can import a well-formed JSON-formatted document into the Tester by
either:
- Choosing the Ruletest menu command Testsheet > Import > JSON from File
- Loading the file on to the clipboard, and then right-clicking in the Input column to choose Import JSON from Clipboard.
You need to provide an appropriate name for the Decision Service. It is not an issue in the Studio Tester, but it is very important when you want to use the file as an input document in deployment where you should be using deployment name (not the Ruletest or the Project name).
Native JSON
Native JSON can be imported through the Import JSON from Clipboard option. However, you cannot export native JSON from a Testsheet.
Note: The Web Console's Test Execution on a deployed Decision Service, when given native
JSON input, produces native JSON output. See Test
Execution.