cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
t-prrath
Microsoft
Microsoft

Dynamic Json Parsing(dictionary style)

Hi, all, I have a connector that receives JSON object based on user's input such as for input 1 he/she gets:

{

 "User1":"mark",

 "User2":"ravi"

}

and for input 2(and so on), he/she gets:

{

"user3":"casper",

"user9":"harvey"

}

So both key-value pair are dynamic. My end user knows his/her keys. So, I need a way to extract the values IN THE FLOW by giving the keys and put it in a condition for example "valueOf("user3")"[RECEIVED]must be equal to "casper"[EXPECTED]. I can't use Parse JSON as it can't handle this case. I have gone thru the xpath approach but it only separates the keys. I need a dictionary sort of function. Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
ChristianAbata
Community Champion
Community Champion

hi @t-prrath  I hope this could help your

 

array.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

1 REPLY 1
ChristianAbata
Community Champion
Community Champion

hi @t-prrath  I hope this could help your

 

array.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,210)