Does anyone know a way that does not involve string concatination of serializing complex objects as JSON strings?
That could be useful when we need to send a JSON object as a request body or if we need to pass it to an MS Flow.
In JavaScript we have nice JSON.stringify() method for that. It would be awesome if it was just available for us in PowerApps. Unless I'm missing something I don't see any replacement for such an important function.
Solved! Go to Solution.
Hi @DenisMolodtsov,
Do you want to serialize complex objects as JSON strings without involving string concatination?
Thanks for your feedback, if you want to serialize complex objects as JSON strings without involving string concatenation, I afraid that there is no way to achieve your needs in PowerApps currently.
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
Best regards,
Kris
Hi @DenisMolodtsov,
Do you want to serialize complex objects as JSON strings without involving string concatination?
Thanks for your feedback, if you want to serialize complex objects as JSON strings without involving string concatenation, I afraid that there is no way to achieve your needs in PowerApps currently.
If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
Best regards,
Kris
Please, upvote the idea to introduce Stringify function: https://powerusers.microsoft.com/t5/PowerApps-Ideas/Add-JSON-stringify-or-something-similar-for-debu...
I am wondering how come this was not included when other few JSON functions were added. Type conversions are basic.
I already voted!!
This is causing a great deal of pain for our company. I have a few MS Flows that automatically fill MS Word templates. The Flows take JSON and use the JSON fields to populate the MS Word templates.
Please add fucntions to send/convert a Collection/ Table as JSON.
It's not a perfect solution, but what I noticed is that if you do a Join operation on an Array lets say attachments of an Email step, then use it in like an HTTP post operation, it would end up with a JSON array with the original elements in JSON object form.
Join Operation
From: target_array_variable
Join with: ,
Http Post
Body : Output
User | Count |
---|---|
260 | |
109 | |
92 | |
56 | |
41 |