<?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>Single quotes string</title><link>https://community.appian.com/discussions/f/new-to-appian/34945/single-quotes-string</link><description>Hi Team, 
 
 
 
 
 
 
 Beginner here. 
 
 
 
 
 
 
 I need to send a message to a Kafka topic that&amp;#39;s used by another team. To do this, we&amp;#39;re using a plugin that accepts messages(parameter) as text. The message I need to send is a dictionary in Appian</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Single quotes string</title><link>https://community.appian.com/thread/135121?ContentTypeID=1</link><pubDate>Fri, 10 May 2024 08:59:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a5f980b0-0911-49b6-b7a8-67bd1feedc1b</guid><dc:creator>nksnksnks</dc:creator><description>&lt;p&gt;Yeah, I&amp;#39;m also not sure why they are asking this. I&amp;#39;m going to try your suggestion, if they are not ok with that, I will suggest them to make changes from their end.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single quotes string</title><link>https://community.appian.com/thread/135120?ContentTypeID=1</link><pubDate>Fri, 10 May 2024 08:52:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:448bea46-c146-46f8-b48a-6b13bcc5a7ba</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;No. It is about the requirement &amp;quot;the other team expects the dictionary to be enclosed in single quotes&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single quotes string</title><link>https://community.appian.com/thread/135118?ContentTypeID=1</link><pubDate>Fri, 10 May 2024 08:43:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c3bb9d1a-c220-4733-a5e1-f69d9e10ca6d</guid><dc:creator>nksnksnks</dc:creator><description>[quote userid="274702" url="~/discussions/f/new-to-appian/34945/single-quotes-string/135117"]?!?!? Never heard of this, sounds weird, but it is what it is ...[/quote]
&lt;p&gt;I think the special characters in my questions appears different when you&amp;#39;re viewing. Is that you&amp;#39;re asking Stefan?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1715330594986v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single quotes string</title><link>https://community.appian.com/thread/135117?ContentTypeID=1</link><pubDate>Fri, 10 May 2024 08:34:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa3a2af7-eb4d-499e-9102-01807a9c9c0a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The output format is only a visual we use to better understand the output of an expression. It has zero impact at execution time.&lt;/p&gt;
&lt;p&gt;A JSON string is expected to be in single quotes ?!?!? Never heard of this, sounds weird, but it is what it is ...&lt;/p&gt;
&lt;p&gt;toJson() returns a simple string. Now, you can wrap that string into any characters you want.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;quot;&amp;#39;&amp;quot; &amp;amp; tojson(&amp;lt;YOUR_DICTIONARY&amp;gt;) &amp;amp; &amp;quot;&amp;#39;&amp;quot;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>