B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Service Development Help | Working with Document Types | Creating an IS Document Type | Creating IS Document Types from JSON Objects | Generating Fields from Unquoted Fields in a JSON Object
 
Generating Fields from Unquoted Fields in a JSON Object
The JSON standard requires that field names be enclosed in double quotes. However, when creating an document type from a JSON object you may want to create fields for fields in the that are not enclosed in quotes in the source JSON object.
The server configuration parameter watt.server.json.allowUnquotedFieldNames determines whether Integration Server generates fields for unquoted fields. a If watt.server.json.allowUnquotedFieldNames is set true and a JSON object with unquoted fields is used as the source for a document type, the resulting document type contains fields that correspond to the unquoted fields as well as the quoted fields. When watt.server.json.allowUnquotedFieldNames is set false and a JSON object with unquoted fields is used as the source for a document type, Designer throws an exception and does not create the document type.

Copyright © 2016- 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.
Innovation Release