Showing results for 
Search instead for 
Did you mean: 
Super User
Super User

Is there any easy way to get the keys of object?

I have a JSON object like below:

  "Z-Index2": "12345",
  "Material": "12345",
  "EAN": "12345",
  "AIP": "314.48"

I want to get all the keys (Z-Index2, Material, EAN, AIP) dynamically from this object.


Is there any easy way to get the keys without using any premium action?

Dual Super User II
Dual Super User II


Have you tried using XPath?


If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here


Yes, I tried the solution given by John Lu in below post:


This post is very old & the solution is bit complicated. So, I just wanted to know if there is any other (new & easy) way to get the keys of object?

Helpful resources

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!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (66,870)