Hello @Anonymous ,
Thanks for the ask and using Microsoft Q&A platform .
As we understand the ask here is how to convert the string to a valid JSON . Please do let me know if that not accurate
As I understand at this time you are concatinating the string to create a JSON format . Just wanted to check if you have explored the option to use the JSON function . Please read about the same here .
Adding the text from the link above for more context .
****json****
Return the JavaScript Object Notation (JSON) type value or object for a string or XML.
Please do let me if you have any queries .
Thanks
Himanshu
- Please don't forget to click on or upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
https://learn.microsoft.com/en-us/azure/data-factory/control-flow-expression-language-functions#json