app-workflow_engine

On this page:

objectToString

Summary

Converts an object to a string.

Description

Converts a JavaScript object to a JSON string, optionally replacing values if a replacer function is specified or optionally including only the specified properties if a replacer array is specified.

Route

No Northbound API Available

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
value object yes The object to convert to a JSON string
replacer array no An array of String and Number objects that serve as a whitelist for selecting/filtering the properties of the value object to be included in the JSON string
space number no A number that's used to insert white space into the output JSON string for readability purposes

Return

DetailsExampleSchema
Name Type Description
stringified string A JSON string representing the given value