jsonString | String. JSON content in a string to convert to a document (IData object). | |
decodeRealAsDouble | String. Optional. Converts real numbers from jsonString to either a Float or Double Java wrapper type. Set to: true to convert real numbers to Double Java wrapper types. This is the default. false to convert real numbers to Float Java wrapper types. Note: The decodeRealAsDouble parameter overrides the value specified by the watt.server.json.decodeRealAsDouble server configuration parameter. If no value is supplied for decodeRealAsDouble, Integration Serveruses the value set in watt.server.json.decodeRealAsDouble. For more information about watt.server.json.decodeRealAsDouble, see webMethods Integration Server Administrator’s Guide. | |
decodeRealAsString | String. Optional. Converts real numbers in the jsonStream to String. Set to: true to convert real numbers to String. false to not convert real numbers to String. The real numbers are then converted to either Float or Double Java wrapper type depending on the values specified in decodeRealAsDouble. This is the default. Note: The decodeRealAsString parameter overrides the value specified by the watt.server.json.decodeRealAsString server configuration parameter. If no value is supplied for decodeRealAsString, Integration Server uses the value set in watt.server.json.decodeRealAsString. For more information about watt.server.json.decodeRealAsString, see webMethods Integration Server Administrator’s Guide. | |
decodeIntegerAsLong | String. Optional. Converts integers from jsonString to either a Long or Integer Java wrapper type. Set to: true to convert integers to Long Java wrapper types. This is the default. false to convert integers to Integer Java wrapper types. Note: The decodeRealAsDouble parameter overrides the value specified by the watt.server.json.decodeIntegerAsLong server configuration parameter. If no value is supplied for decodeIntegerAsLong, Integration Server uses the value specified in the watt.server.json.decodeIntegerAsLong property. For more information about watt.server.json.decodeIntegerAsLong, see webMethods Integration Server Administrator’s Guide. | |
decodeNullRootAsEmpty | String. Optional. Converts a null value that Integration Server retrieves from JSON content to either IData or empty IData. Set to: true to convert the null value to empty IData. The subsequent encoding of empty IData creates a JSON text of “{}”. This JSON content is different from the original JSON content (null) as the original null value gets converted to JSON text of "{}". false to convert the null value to IData. This is the default. | |
jsonDocumentTypeName | String. Optional. If specified, the transformation from JSON string to Document (IData) is based on the JSON document type. Any deviations from the provided JSON document might cause transformation errors. When this parameter is provided, Integration Server ignores the following parameters: decodeRealAsDouble decodeIntegerAsLong decodeRealAsString and the following server configuration parameters: watt.server.json.decodeIntegerAsLong watt.server.json.decodeRealAsDouble watt.server.json.decodeRealAsString This parameter must have the fully qualified name of a JSON document type on Integration Server against which the JSON content is validated. This parameter must be in the format: <Folder Name>:<JSON Document Type Name> For example: data:employeeData | |
strict | String. Optional. Valid values are true and false. The default value is false. The values of strict and jsonDocumentTypeName parameters together determine how Integration Server parses and converts JSON string to Document (IData) in the following manner: When strict is false and jsonDocumentTypeName is not specified, there is no change in the behavior. When strict is false and jsonDocumentTypeName is specified, the transformation from JSON string to Document (IData) is loosely based on the JSON document type. For conversion rules, see:
Table 1: Conversion of JSON Payload to IData. When strict is true and jsonDocumentTypeName is not specified, the service returns an exception. When strict is true and jsonDocumentTypeName is specified, the transformation from JSON string to Document (IData) is strictly based on the JSON document type. The validation is performed first before the transformation, and any deviations lead to transformation errors. The decodeRealAsDouble, decodeIntegerAsLong, and decodeRealAsString parameters and the server configuration parameters, if specified, are ignored. | |
unescapeSpecialChars | String. Optional. Controls whether Integration Server unescapes the special characters '\n', '\r', '\t', '\b', '\f', '\\', '\"' while parsing JSON documents. Set to: true to unescape these special characters (that is, '\n' will be replaced with new line, similarly other characters will also be replaced) in the output document. This is the default. false to keep these characters as is in the output document. Note: The unescapeSpecialChars parameter overrides the value specified by the watt.server.json.decode.unescapeSpecialChars server configuration parameter. If no value is supplied for unescapeSpecialChars, Integration Server uses the value specified in the watt.server.json.decode.unescapeSpecialChars parameter. For more information about watt.server.json.decode.unescapeSpecialChars, see webMethods Integration Server Administrator’s Guide. |
document | Document. Document (IData object) resulting from the conversion of jsonString. |