Cloud Application Integration (On-Premises) : Administering CloudStreams : Creating Custom Cloud Connectors : Support for multiple root JSON data format with anonymous collection
Support for multiple root JSON data format with anonymous collection
The multiple root feature enables CloudStreams to support JavaScript Object Notation (JSON) APIs which return as well as accept anonymous collection, that is, collection without a key, of JSON objects provided or accepted by a JSON provider. CloudStreams supports anonymous JSON object collection in the request and response design time.
You can use CloudStreams to access those APIs which return as well as accept anonymous collection of JSON objects for a JSON backend. The number of APIs supported now by CloudStreams is more. Most of the social connectors support anonymous collection in most of the APIs.
This feature also helps you to get error messages for scenarios where the exclude root is marked as true. You can experience a broader connectivity to all sets of JSON backends, especially social connectors.
The multiple root feature allows you to consume all types of APIs and does not restrict you to a subset of APIs. You can create cloud services that communicate with the JSON backends, which expect or accept an anonymous collection from the backend. With added support in the Software AG Designer, you can now create document types of the JSON objects whose collection is expected or accepted from the JSON backend and can also map it as a logical collection in the design time of the cloud service. CloudStreams automatically handles root less array of JSON objects at runtime and the contents of each object separately.
Note:  
Response having multiple root JSON data format with anonymous collection is supported from version 9.8 and later versions of Software AG Designer and CloudStreams Server.
Request having multiple root JSON data format with anonymous collection is supported from version 9.9 Fix 2 and later versions of Software AG Designer and CloudStreams Server.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback