1 # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
3 @page dwx_rig_json2json_tool Rig Reserializer Tool
6 @section dwx_rig_json2json_tool_description Description
8 The NVIDIA<sup>®</sup> DriveWorks Rig Reserializer Tool deserializes and serializes an input rig file, upgrading it to the latest version in the process.<br>
10 @note SW Release Applicability: This tool is available in both <b>NVIDIA DriveWorks</b> and <b>NVIDIA DRIVE Software</b> releases.
12 @section dwx_rig_json2json_tool_prereqs Prerequisites
14 This tool is available on the x86 Host System, NVIDIA DRIVE<sup>™</sup> OS Linux and NVIDIA DRIVE<sup>™</sup> OS QNX.
16 This tool creates an output file that is:
17 - Named [input_rig_name]-new.json if no output rig file is specified
18 - Stored at the same path as the input rig file if no absolute path for the output rig file is specified
19 - Stored at the absolute path provided via the output rig file argument
21 @section dwx_rig_json2json_tool_usage Running the Tool
23 Run this tool by executing:
25 ./rig_json2json input.json [output.json]
27 @subsection dwx_rig_json2json_tool_params Positional parameters
30 Description: The rig file to be re-serialized.
31 If there is no rig file present, the tool will not launch.
35 Description: The rig file containing the resulting serialized values with the latest version.
36 Default value: <input-rig>-new.json
38 @section dwx_rig_json2json_examples Examples
40 ./rig_json2json /home/user/input-rig.json
41 Results in /home/user/input-rig-new.json
43 ./rig_json2json /home/user/input-rig.json /home/user/result/output-rig.json
44 Results in /home/user/result/output-rig.json
46 ./rig_json2json /home/user/input-rig.json output-rig.json
47 Results in /home/user/output-rig.json