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 @section dwx_rig_json2json_tool_prereqs Prerequisites
12 This tool is available on the x86 Host System, NVIDIA DRIVE<sup>™</sup> OS Linux and NVIDIA DRIVE<sup>™</sup> OS QNX.
14 This tool creates an output file that is:
15 - Named [input_rig_name]-new.json if no output rig file is specified
16 - Stored at the same path as the input rig file if no absolute path for the output rig file is specified
17 - Stored at the absolute path provided via the output rig file argument
19 @section dwx_rig_json2json_tool_usage Running the Tool
21 Run this tool by executing:
23 ./rig_json2json input.json [output.json]
25 @subsection dwx_rig_json2json_tool_params Positional parameters
28 Description: The rig file to be re-serialized.
29 If there is no rig file present, the tool will not launch.
33 Description: The rig file containing the resulting serialized values with the latest version.
34 Default value: <input-rig>-new.json
36 @section dwx_rig_json2json_examples Examples
38 ./rig_json2json /home/user/input-rig.json
39 Results in /home/user/input-rig-new.json
41 ./rig_json2json /home/user/input-rig.json /home/user/result/output-rig.json
42 Results in /home/user/result/output-rig.json
44 ./rig_json2json /home/user/input-rig.json output-rig.json
45 Results in /home/user/output-rig.json