Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Verified Answer
Replies
4 replies
Answers
1 answer
Subscribers
6 subscribers
Views
2106 views
Users
0 members are here
conversion
integration
json
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Converting dictionary to a different JSON response
vivekg0004
over 3 years ago
Hi,
How can I convert the below dictionary-
{
name:"Vivek",
place:"XYZ"
}
to something like this:
"{\"name\":\"Vivek\",\"place\":\"XYZ\"}"
It is a bit from what a!toJson function returns. Any lead will be helpful.
Thanks!
Discussion posts and replies are publicly visible
Top Replies
Stefan Helzle
over 3 years ago
+2
verified
Certified Lead Developer
What is your use case? If you really need to do that, you can do a toJson() followed by a substitute() call to replace " with \". Feels like you want to escape a JSON string. For this you would need…