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 / Parse JSON - Why does ...
Power Automate
Unanswered

Parse JSON - Why does it not follow the Schema? It adds in things that are not part of the schema, so whats the point?

(0) ShareShare
ReportReport
Posted on by 15

This issue isn't specific to any one given Parse JSON schema but everyone I use.

My goal is sometimes I only want part of the Schema to be populated so in the Parse JSON I actually very specifically create a schema that has only certain parts. But no matter what, Parse JSON still adds in the stuff I don't want and in some cases it adds a huge amount of extra work to get rid of it, if i can at all.

 

in the example below all I want is the value, I do not want, the id at all, so my schema is set to only even mention that value field, yet the id field shows up in output

 

There truly seems no reason to put in a schema, when as far as I know, I cannot annotate nulls/skips/etc and leaving the stuff out, it still populates. 100% reproducible.

 

Anyone able to figure out how to stop this from happening? the schema is just an example, but I really want to leave out the things I don't want, without having to later array filter them or remove them.

 

Example Data:

 

 

something : [
 {
 "id": "dddddd",
 "value": "adsfasdfasdf"
 },
 {
 "id": "ttt",
 "value": "ttt"
 }
]

 

 

 

 

 

Schema

something : [
 {
 "value" type string
 },
 {
 "value" type string
 }
]

 

 

 

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    12,051 Super User 2026 Season 1 on at

    Hi @PikaPika ,

     

    Here is a different method that doesn't use Parse JSON. We can use a Select action to specify the property we want to select (extract).

    Snag_733057.png

    The example below selects the value property, and uses Text Mode to return just the value property. The output of the Select action will be an array containing the value property:

    Snag_774bbb.png

    The runtime show that the Select action produces an an array containing the value property:

    Snag_78caf9.png

     

    Snag_7e07bb.png

     

    Hope this helps.


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • PikaPika Profile Picture
    15 on at

    HI and thanks!!

     

    Totally agree in simple jsons it works ok to add another step, but in more complex it becomes impossible especially based on layers of objects because then you need arrays and indexes etc.

     

    It would just be nice if I said here is my schema (like I can in c#) and only populate these and ignore the rest 🙂

     

    Thanks again!!!

  • PaulHancock Profile Picture
    9 on at

    Did you get this resolved, as I am facing same issue with complex JSON requiring a detailed schema for simplification?

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 815

#3
Haque Profile Picture

Haque 630

Last 30 days Overall leaderboard