Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
9 subscribers
Views
3207 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have a json output from a http service coming like this. "mes
nitas811
over 10 years ago
I have a json output from a http service coming like this.
"message":{
"validation_errors":"True",
"error_data":{
"push_qa_contact_phone":[
"Missing data"
],
"push_dev_contact":[
"Missing data"
],
"component":[
"The Component in your JIRA Ticket is not eligible for OpenWindow."
],
"push_dev_contact_phone":[
"Missing data"
],
"push_qa_contact":[
"Missing data"
]
}
},
I would like to get all the keys under error_data, the keys could keep changing in output how do I get all the keys in this output and parse through each one of them?
OriginalPostID-147661
OriginalPostID-147661
Discussion posts and replies are publicly visible
Parents
0
nitas811
over 10 years ago
I could get the length of error_data by putting it in array variable. I do not see this function fromJson under functions. We are at version 7.2 is that a new version function. With that function can we get the keys for a json and parse through it?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
nitas811
over 10 years ago
I could get the length of error_data by putting it in array variable. I do not see this function fromJson under functions. We are at version 7.2 is that a new version function. With that function can we get the keys for a json and parse through it?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data