cancel
Showing results for 
Search instead for 
Did you mean: 

Parse JSON in PowerApps

Hi everyone,

 

The new JSON function in PowerApps is great and we have been using it extensively. Another great addition would be to parse JSON directly in PowerApps. If PowerApps receives a stringified JSON string, it should be able to easily Parse this and use this data in the app, to write it into a collection, variable or whatever.

 

We have been using the HTTP response in flow to return dynamic data to PowerApps, but seeing that this is now longer included in the Office 365 entitlement and that normal Respond To PowerApps Flow action not supporting Arrays or JSON, this request is quite urgent.

 

Please let us know if you have any questions or suggestions.

 

Kind regards

 

Dawid van Heerden
Follow on Twitter: @davestechtips
Subscribe to YouTube: https://www.youtube.com/davestechtips?sub_confirmation=1

Status: Under Review
Comments
paulewert
Frequent Visitor

Quite frustrating that we can not get an object back from a Flow's "Respond to a PowerApp or flow." Instead, must use a Premium Response action. Such basic functionality and it has been restricted to Premium users.

johnsonse
Frequent Visitor

This is truly needed ! 

NewBee117
Advocate V

Yes, please.

annazurawska
Frequent Visitor

That would be perfect!

camer314
Helper I

More generally why can we not have weakly typed JSON support, like every single JavaScript application that has ever been written. Why do we need to bind to a schema?

 

I believe PowerApps is written in React TS, it would be almost no effort to allow a JSON string to be deserialized into a object that is weakly typed (e.g using 'any') and then leave it up to the developer to deconstruct the object by property reference (with appropriate conversions).

 

JasminB
Regular Visitor

Voted for it, would be a great feature to have it.

PauloRech
Advocate IV

We need it as a default function.. not PREMIUM!

 

Micro$oft being Micro$oft

Gianluca
Advocate I

Yes, x100. 🙂

LStawario
Frequent Visitor

Yes ! Just do it x200

vpip
Regular Visitor

Expressing an interest in this. If the complexity that is impeding this feature is in how we might supply a schema definition in Power Apps, then how about this as a solution:

 

Have us rely on the Power Automate Parse JSON data operation, but enable us to return an object or array to Power Apps. Currently, the "Respond to a Power App or flow" action only supports Text, Yes/No, File, Email, Number and Date. If we pass an object or array value, we should be enabled to accept it directly into a Collect() statement to make the data accessible.