@shanzhai/parse-json-step

A Shanzhai step which parses JSON from a string.

Usage no npm install needed!

<script type="module">
  import shanzhaiParseJsonStep from 'https://cdn.skypack.dev/@shanzhai/parse-json-step';
</script>

README

@shanzhai/parse-json-step Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai step which parses JSON from a string.

Usage

If within a trigger's event handler an instance of ParseJsonStep similar to the following were to be returned:

new ParseJsonStep(
  `A description of the operation being performed`,
  new ConstantInput(`{"testKey":"testValue"}`),
  new OutputForParsedJson()
);

A value similar to the following would be written to the output:

{ testKey: `testValue` };

Dependencies

This package has no runtime dependencies.

Peer Dependencies

This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).

License

FOSSA Status