<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/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>Method General Q &amp; A</title><link>http://forums.method.me/cs/forums/30.aspx</link><description>Ask technical support questions, how do I?...or anything else you want to know from the Method Team.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: JSON Encode the Item Description</title><link>http://forums.method.me/cs/forums/thread/36329.aspx</link><pubDate>Tue, 13 Oct 2020 03:10:24 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:36329</guid><dc:creator>Method_Inderdeep</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/36329.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=30&amp;PostID=36329</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi bryanfromcleveland,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;/span&gt;If you are using this on the screens in Method, then you can use one of our action which is called Character Function&lt;span id="mce_7_start" style="overflow:hidden;"&gt; Action&lt;/span&gt;. &lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="intercom-align-left"&gt;The &lt;b&gt;Character functions&lt;/b&gt; action provides a way to manipulate and parse text.&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="intercom-align-left"&gt;In each function, there are parameters to specify the source of the text. Since text can be stored in a variety of different places within Method, a dropdown is provided to locate where the text is stored. This can range from text being manually typed in, to text being stored in action results or controls on screen.&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;/span&gt;You can read about it more &lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;a href="https://help.method.me/en/articles/2625609-character-function-action" target="_blank"&gt;here&lt;span id="mce_1_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;Find in JSON action&lt;span id="mce_11_start" style="overflow:hidden;"&gt; is part of the Character Function action and&amp;nbsp;&lt;/span&gt;&amp;nbsp;something you are looking for.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Inder&lt;/p&gt;</description></item><item><title>JSON Encode the Item Description</title><link>http://forums.method.me/cs/forums/thread/36328.aspx</link><pubDate>Sun, 11 Oct 2020 15:27:54 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:36328</guid><dc:creator>bryanfromcleveland</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/36328.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=30&amp;PostID=36328</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hello.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;I have an html input for an item description.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The item description will be sent via JSON request to shopify.&lt;/p&gt;
&lt;p&gt;However, the item description has multiple lines, which break the JSON format.&lt;/p&gt;
&lt;p&gt;How can I remove the new lines or encode them? such as \n&lt;/p&gt;</description></item></channel></rss>