Forum Discussion

gremishe's avatar
gremishe
New Contributor
6 years ago

Removing [] from output of the triggered pipeline

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.

6 Replies