XenoGuard 4.0 Documentation

Parse File

ActionStep Reference » Windows » Network » JSON » Parse File 

The ActionStep JSON Parse File reads and converts a JSON file into a tree-view structured data.

[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. Open the Network node.
  3. In the JSON node, select the Parse File ActionStep.

Parameters:

The ActionStep has the following input parameters:


name Description
JSON File
The JSON file to be imported and converted.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter]

Results:

The ActionStep returns the following results:


name
description
Result
The result value in a tree-view structure.

Allowed Context Scope [Fixed]
Allowed Context Types [Variable, Parameter]

Example 1 (Concatenate content from a JSON File):

This example creates a local variable named JSON_File with Text as data type. This path of the JSON file that is stored in the variable is then accessed and imports the content to be converted to a tree-view structure. The keys, firstname and lastname, from the converted JSON content are concatenated and the Result is displayed in Message Box.


See other JSON operations:

Get
Set
Parse String