cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
guilleguinto
Regular Visitor

How to Parse JSON object with same key - value identifiers?

I have been looking for an answer to this problem for quite some time now, and I think I have read every single thread regarding JSON parsing in Flow and PowerApps without finding an actual answer to my specific scenario.

 

I want to get a specific object pair from an array of objects, the problem is that the "identifiers" for each object pair are exactly the same and the amount and order of each object pairs vary. Using the schema below, let's say that I want to get "value_2", which unique id is "object_id_2". How can I get this consistently even though it´s not always in the same position?

 

[

     {

          "id":"object_id_1",

          "value":"value_1"

     },

     {

          "id":"object_id_2",

          "value":"value_2"

     },

     {

          "id":"object_id_3",

          "value":"value_3"

     },

     ...,

     {

          "id":"object_id_N",

          "value":"value_N"

     },

]

0 REPLIES 0

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (40,361)