Parse and render the special characters in rest and json plugin
book
Article ID: KB0081039
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON
2.0.0
Description
Some customers may need to parse and render the special characters using the rest and json plugin but while doing so the customers may see that they are getting interpreted as ‘&’ in the output of the respective activity.
For example :- If the customer is passing the special character “&” in the input of the activity then in the output of the activity the special character will be as “‘&’”
Environment
Business Works
Resolution
In order to parse special characters like single quote, double quote, and "! @ # $ % ^ & *" etc. please follow below steps.
1. Please install plug-in hotfix 7 for REST and JSON 2.0.0
2. After installing this hotfix, please add below property inside designer.tra
3. We have created sample project which is passing following input value i.e.
Data: ===================== "This is a curved “ double-quote. ! @ # $ % ^ & * This is a curved ‘single-quote. This is a … test. Spanish español. ¿Dónde puedo conseguirlo?. With Chinese: 找了法話行公從朋教. Some Hindi: ये टेस्ट के लिये है" =====================
4. Parse JSON plug-in with HF 7 and suggested property works properly and for render json property we have added Java Code palette to render special characters inside sample project.
Please refer to the attachment "Sample_Project.zip" for more details.
Issue/Introduction
Parse and render the special characters in rest and json plugin
Attachments
Parse and render the special characters in rest and json pluginget_app