Json Path Editor Master
Module name: JsonPathEditorMaster
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
This module is designed to edit JSON files by replacing paths within the JSON structure. It takes a list of JSON files, a mapping of old paths to new paths, and saves the modified JSON files to a specified directory.
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
input json files |
— |
input json files |
|
a dictionary mapping old paths to new paths |
— |
a dictionary mapping old paths to new paths |
|
the directory where the modified JSON files will be saved |
— |
the directory where the modified JSON files will be saved |
|
a suffix to be added to the modified JSON file names |
— |
a suffix to be added to the modified JSON file names |
Outputs
Output |
Format |
Description |
|---|---|---|
|
the modified JSON files saved in the specified directory (It is not used in the current implementation) |
the modified JSON files saved in the specified directory (It is not used in the current implementation) |
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Json Path Editor Master under the Files I/O category.
Drag the module onto the process canvas.
Connect the required inputs from upstream modules (or set values in the Settings tab).
Connect outputs to downstream modules as needed.
Double-click the module to configure parameters in the Settings tab.
Run the process and inspect results in the Results tab.
Note
For general guidance on building processes with modules, see Explore examples.