document | Document The document (IData object) to be converted to a JSON string. | |
prettyPrint | String Optional. Formats the jsonString output parameter for human readability by adding carriage returns and indentation to the JSON content. Set to: true to format jsonString output variable for human readability. false to leave the jsonString output variable in its unformatted state. The service will not add any additional carriage returns or indentation to the JSON content. null to use the prettyPrint setting already in effect for the HTTP client making the request, as follows: If the HTTP client request includes jsonPrettyPrint=true in the URI, JSON pretty printing is in effect. If the HTTP client request includes jsonPrettyPrint=false in the URI, JSON pretty printing is not in effect. If the HTTP client request does not include the jsonPrettyPrint parameter, the service uses the value of the watt.server.json.prettyPrint configuration parameter. For more information about watt.server.json.prettyPrint, see webMethods Integration Server Administrator’s Guide. |
jsonString | String JSON string resulting from the conversion of document. |
Note: | Use caution when setting watt.server.json.quoteFieldNames to false as this causes the pub.json:documentToJSONString service to generate non-standard JSON text. This can cause interoperability issues if the JSON text is sent to other organizations. |