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
2 replies
Subscribers
7 subscribers
Views
3698 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Is there a way to convert a XML to JSON or an Appian Dictionary without a lot of
danielh754
over 8 years ago
Is there a way to convert a XML to JSON or an Appian Dictionary without a lot of coding effort?
OriginalPostID-168008
OriginalPostID-168008
Discussion posts and replies are publicly visible
0
padmanabhanv
over 8 years ago
Use the torecord function to convert XML to a CDT.
forum.appian.com/.../Scripting_Functions.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jamesw63
over 8 years ago
Have you tried using the a!toJson() function? I don't have access to a 7.10 install at the moment but I would hope that it accepts xml input. If the function needs a cdt, you could convert the xml to a record and then convert the record to json. Like so: a!toJson( torecord( <xml>))
I don't see a shared plug-in, but this wouldn't be difficult to implement.
See here:
www.json.org/.../XML.html
and here:
stackoverflow.com/.../quickest-way-to-convert-xml-to-json-in-java
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel