webMethods Integration Cloud and Cloud Deployment Documentation 5.6.0 | webMethods Integration Cloud | Integrations, Built-In Services, REST APIs, SOAP APIs, Doc Types, and Recipes | Built-In Services | JSON | 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.

Copyright © 2014- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.