AnsweredAssumed Answered

Extract JSON Keys and Values

Question asked by Geethu_John on Jul 25, 2016
Latest reply on Aug 5, 2016 by Geethu_John

Hi everyone ,

 

Is there any way to extract the JSON keys alone. I read few posts in community but most of them were about extracting json key's values.

I can extract the values using evaluate json path expression but I need the keys as well.

 

For example , my json object looks like

 

{"q1":"a1","q2":"a2","q3":"a3","q4":"a4","q5":"a5","q6":"a6","q7":"a7","q9":"a9","q10":"a10","q12External":"a11","q13":"234","q14":"a14","q15":"2","q16":"2","q17":"2","q18":"2"}

 

I am able to get a1,a2,a3 etc..but I need q1,q2,q4 etc.

 

Geethu

Outcomes