Cleans a JSON file by removing non-printable characters from string values.
Parameters:
Name | Type | Description |
---|---|---|
inputFilePath |
string | The path to the input JSON file. |
outputFilePath |
string | The path to write the cleaned JSON data. |
- Source:
Returns:
A Promise that resolves when the JSON file is cleaned and written successfully.
- Type
- Promise.<void>