web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get te data from an ar...
Power Automate
Unanswered

Get te data from an array in JSON

(0) ShareShare
ReportReport
Posted on by 2

Hey guys,

 

Can someone help me out?. Im trying to parse a Json that looks like this:

 

{
Campos: [
"Prefixo",
"DataHora",
"GPS_Latitude",
"GPS_Longitude",
"GPS_Direcao",
"Linha",
"GTFS_Sentido",
"Velocidade",
"IMEI"
],
Dados: [
[
"442526",
"25/06/2020 14:06:31",
-15.83956,
-48.128787,
0,
"361.1",
1,
0,
"358197040754337"
],
[
"444731",
"25/06/2020 14:07:08",
-15.786168,
-47.943036,
67,
"0.383",
0,
56,
"358197040769939"
],

 

The problem is, i need to separate all values of every array to use in a report later on. As the data dont have a label, im not sure how to do it.

 

Does someone have any idea on how to work on this?

 

Thank you in advance.

Categories:
I have the same question (0)
  • Doug_Apicella Profile Picture
    45 on at

    @William_Lima  You can use multiple Parse JSON actions to parse each section so one ParseJSON would be the Campos element and the next would be Dados and so on. Odd that your JSON doesn't have any labels as that would be the easiest option to referencing them once you parse each section. Once you parse the JSON section you can do a Compose to split the values:

     

    split(body('NameofParseJsonActionHere')',')
     
    That gets you about half way as you will probably then need to do a count of how many values you get out of it.
    You can then reference each item later in your flow: outputs('compose')?[0], where [0] is the index position of the element we want to get.
     
     
    Hope that helps!
     
    Doug
  • William_Lima Profile Picture
    2 on at

    Hey Doug,

     

    Thanks for responding, but my problema is really bigger. My request now has 500 arrays in "DADOS", and im not sure how to do the steps you mentioned it.

     

    Could you help me all the way?

     

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard