Hi,

In one of my TeraScript app I have the following JSON structure to display on a 
table for export.


{
"data":[
{
"app_id":"appid",
"app_number":"12345",
"app_question":"<@VAR NAME="question" SCOPE="LOCAL" encoding='html'>",
"app_answer":"<@VAR NAME="answer" SCOPE="LOCAL" encoding='html'>",
"app_dummy":""
}
]}



The "answer" var contains a large block of text with paragraph, quotes, and all 
other displayable characters and it works fine. But, if the "answer" var 
contain hidden characters that do not display on any html page, it will fail.


I also tried to use the <@KEEP> to keep the normal characters and not picking 
up the hidden characters and the "answer" var seems to work except it didn't 
KEEP the quote and any characters using <@CHAR CODE=''>


The CHARS='' parameter within my KEEP is as follows:


CHARS='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890 
-_:;,./!@#$%&*()+=[]{}?|<@CHAR CODE=147><@CHAR CODE=148>\&quot;<@CHAR 
CODE=10><@CHAR CODE=13><@CHAR CODE=147><@CHAR CODE=148><@SQ>'



Please advise me with a better solution in populating the "answer" var for the 
JSON structure or how to use the <@KEEP> to keep the characters as shown above.


Thank you!


MC




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to