A Shanzhai step which "stringifies" a JSON value to a string.
If within a trigger's event handler an instance of
to the following were to be returned:
new StringifyJsonStep( `A description of the operation being performed`, new InputForAJsonValue(), new OutputForStringOfJson(), );
A string containing the rendered generated string of JSON would be written to the output.
Note that this does not directly use
JSON.stringify; it has the following
- Object key order is always sorted, ascending.
- Object properties with undefined values are omitted from the string of JSON.
This package has no runtime dependencies.
This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).