Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert an object to string in PowerApps

Tags:

powerapps

For debugging purposes I would like to display the value of different objects. Is there any way you can convert an object to a string to display all of its properties and values?

like image 528
Thomas Segato Avatar asked Jan 20 '26 23:01

Thomas Segato


1 Answers

Now there is the JSON() function, which works like the JSON.stringify() function in JavaScript.

Set(obj, { Name: "John Doe", Age: 33 });
JSON(obj); // The stringified object.
like image 142
saulodias Avatar answered Jan 27 '26 01:01

saulodias