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
3 replies
Subscribers
7 subscribers
Views
1755 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I am using 7.5 and the JSON functions plugin. The plugin is generating a JSON ar
karls
over 9 years ago
I am using 7.5 and the JSON functions plugin. The plugin is generating a JSON array but with double quotes that are not needed.
{"Recipients":["{\\"Test\\":\\"1\\",\\"Test2\\":\\"2\\"}","{\\"Test\\":\\"1\\",\\"Test2\\":\\"2\\"}"],"UserId":"1"}
Is there a way for me to remove "{ and }" and replace it it { and }...
OriginalPostID-130297
OriginalPostID-130297
Discussion posts and replies are publicly visible
Parents
0
Ravi Roshan
over 9 years ago
Hello Karls,Vanmathyv
I am trying to use fromJson() and use that value,however I am facing few problems.
In process model I took two script task, in the first script task's custom output I am creating a custom output:-
a!fromJson({"firstName" : "Ravi"})
ALERT ERROR: The jsonText parameter of a!fromJson() was not valid JSON. Received: [firstName:Ravi]) (Data Outputs)
OR
a!fromJson('{"firstName" : "Ravi"}')
ERROR: Neither variables nor Rules found.
I've created a process variable inside that data tab and saving there the value.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Ravi Roshan
over 9 years ago
Hello Karls,Vanmathyv
I am trying to use fromJson() and use that value,however I am facing few problems.
In process model I took two script task, in the first script task's custom output I am creating a custom output:-
a!fromJson({"firstName" : "Ravi"})
ALERT ERROR: The jsonText parameter of a!fromJson() was not valid JSON. Received: [firstName:Ravi]) (Data Outputs)
OR
a!fromJson('{"firstName" : "Ravi"}')
ERROR: Neither variables nor Rules found.
I've created a process variable inside that data tab and saving there the value.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data