<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Conversion of text value to Json</title><link>https://community.appian.com/discussions/f/integrations/17305/conversion-of-text-value-to-json</link><description>Hi All, 
 I have a requirement like. 
 1. An external system will update the message into a table in Appian. 
 2. The structure will be resemble something like this. 
 { &amp;quot;H16&amp;quot;:{}, &amp;quot;H7&amp;quot;:{}, &amp;quot;T02&amp;quot;:{ &amp;quot;T02_06&amp;quot;:{ &amp;quot;T02_06_01&amp;quot;:{} }, &amp;quot;T02_05&amp;quot;:{}, } } 
 3.I need</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Conversion of text value to Json</title><link>https://community.appian.com/thread/68195?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 17:33:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7bbbed3e-d681-442b-84ee-24ccacf330f2</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;You could also try BLOB or CLOB datatype.&lt;/p&gt;
&lt;p&gt;You could also create a rule to replace \r and \n with the appropriate Unicode for newlines and carriage returns using the char() function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conversion of text value to Json</title><link>https://community.appian.com/thread/68194?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 17:23:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11e46c23-c064-469b-bf79-85ca7e83828d</guid><dc:creator>Chanakya Volam</dc:creator><description>&lt;p&gt;When external system is writing to DB in JSON format, why not use the data type in DB as JSON instead of text or varchar. If the datatype is JSON in table you dont need to worry about converting in appian again.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can map JSON table column to text type in appian CDT&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>