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.
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.
07-02-2020 06:34 AM
That worked.
Thank you.