cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DenisMolodtsov
Kudo Kingpin
Kudo Kingpin

JSON.stringify() or something similar in PowerApps to serialize objects as JSON strings

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.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

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

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-xida-msft
Community Support
Community Support

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

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

DenisMolodtsov
Kudo Kingpin
Kudo Kingpin

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. 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,644)