Read Data from File

You are currently viewing the documentation for the latest version (2.2.2). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step reads data from a specified JSON file for use by subsequent Steps.

Usage Scenario

Use this Step when a project needs to read strings, JSON values, or poses from a JSON file.

Input and Output

Input

This Step has no input ports.

Output

Output port Data type Description

Data

String[]n / JsonValue[]n / Pose[]n

Data read from the JSON file. The output data type is determined by the Data Type parameter.

Parameter Description

Parameter Description

Data Type

Description: Sets the type of data to read from the JSON file.

Value list:

  • String: Reads string data and outputs data of type String.

  • JSON value: Reads JSON values and outputs data of type JsonValue.

  • Pose: Reads pose data and outputs data of type Pose.

JSON File Path

Description: Sets the path of the JSON file to be read. When the Step runs, it reads the file from the specified path.

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.