Integration Cloud 6.1.0 | Built-In Services | Built-In Services | documentToJSONString
 
documentToJSONString
Converts a document to a JSON string.
Input Parameters
document
Document. The document to be converted to a JSON string.
prettyPrint
String. Formats the jsonString output parameter for human readability by adding carriage returns and indentation to the JSON content. Set to:
*true to format the jsonString output field for human readability
*false to leave the jsonString output field in its unformed state
The service will not add any additional carriage returns or indentation to the JSON content.
Output Parameters
jsonString
Object. JSON string resulting from the conversion of a document.