Removing [] from output of the triggered pipeline
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2020 08:44 AM
Hi,
We have a triggered pipeline that returns JSON.
Here is the example of the output:
[
{“metadata”:{“version”:“1”},“content”:[{“elementType”:“detail”,“title”:“Gleb”,“content”:}]}
]
The problem is that brackets are causing the issue for the vendor that calls this pipeline.
How do we remove brackets?
Here is the desired output:
{“metadata”:{“version”:“1”},“content”:[{“elementType”:“detail”,“title”:“Gleb”,“content”:}]}
Thank you,
Gleb.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2020 03:44 AM
If you are using a JSON Formatter and the pipeline will only return one document, you can just check the “Format each document” option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2020 06:34 AM
That worked.
Thank you.
