<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>ClipboardFusion RSS: How can  using Newtonsoft.json</title>
<atom:link href="https://www.clipboardfusion.com/Discussions/RSS/?TopicID=5af0c734-8938-4aca-bf7c-3bd93b362ce3" rel="self" type="application/rss+xml" />
<link>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=5af0c734-8938-4aca-bf7c-3bd93b362ce3</link>
<description>ClipboardFusion RSS: How can  using Newtonsoft.json</description>
<lastBuildDate>Wed, 23 Sep 2026 01:58:30 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=5af0c734-8938-4aca-bf7c-3bd93b362ce3</generator>
<item>
<title>RE: How can  using Newtonsoft.json</title>
<link>https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3#5</link>
<pubDate>Thu, 06 Jan 2022 01:30:17 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3#5</guid>
<category>ClipboardFusion</category>
<description><![CDATA[OK. I get it.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
OK. I get it.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.clipboardfusion.com/Discussions/Download/?ID=d1c6f8d9-2b8d-437d-bca7-d220c9661af1"/>
</item>
<item>
<title>RE: How can  using Newtonsoft.json</title>
<link>https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3#4</link>
<pubDate>Thu, 06 Jan 2022 01:16:46 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3#4</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Quote:
Can you try installing this: https://www.newtonsoft.com/json
Thanks!
Already installed.
And  copying to the \ClipboardFusion folder will not work.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Can you try installing this: https://www.newtonsoft.com/json<br/>
Thanks!</div></div><br/>
Already installed.<br/>
And  copying to the \ClipboardFusion folder will not work.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.clipboardfusion.com/Discussions/Download/?ID=d1c6f8d9-2b8d-437d-bca7-d220c9661af1"/>
</item>
<item>
<title>RE: How can  using Newtonsoft.json</title>
<link>https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3#3</link>
<pubDate>Wed, 05 Jan 2022 17:09:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3#3</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Can you try installing this: https://www.newtonsoft.com/json
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Can you try installing this: https://www.newtonsoft.com/json<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
<media:thumbnail url="https://www.clipboardfusion.com/Discussions/Download/?ID=d1c6f8d9-2b8d-437d-bca7-d220c9661af1"/>
</item>
<item>
<title>RE: How can  using Newtonsoft.json</title>
<link>https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3#2</link>
<pubDate>Tue, 28 Dec 2021 07:40:46 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3#2</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Code
Copy
Select All
using System;&#xA;using System.Text;&#xA;using System.Net;&#xA;using System.IO;&#xA;using System.Security.Cryptography;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Newtonsoft.Json;   //install-package newtonsoft.json ,&#xA;// The &#x27;text&#x27;...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code01a0cbfc61f27248836ef2d1d5c0c9ac" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code01a0cbfc61f27248836ef2d1d5c0c9acJs'); return false;"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code01a0cbfc61f27248836ef2d1d5c0c9acJs" name="code01a0cbfc61f27248836ef2d1d5c0c9acJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">using System;&#xA;using System.Text;&#xA;using System.Net;&#xA;using System.IO;&#xA;using System.Security.Cryptography;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using Newtonsoft.Json;   //install-package newtonsoft.json ,&#xA;// The &#x27;text&#x27; parameter will contain the text from the:&#xA;//   - Current Clipboard when run by HotKey&#xA;//   - History Item when run from the History Menu&#xA;// The returned string will be:&#xA;//   - Placed directly on the Clipboard when run as a Macro&#xA;//   - Ignored by ClipboardFusion if it is &#x27;null&#x27;&#xA;//   - Passed along to the next action in a Trigger (null changed to an empty string)&#xA;public static class ClipboardFusionHelper&#xA;{&#xA;public static string ProcessText(string text)&#xA;{&#xA;Baidu AB = new Baidu();&#xA;string retString = AB.BaiduTrans(text);&#xA;if (!retString.Contains(&quot;dst&quot;))&#xA;{&#xA;BFS.Dialog.ShowTrayMessage(&quot;Error:&#x83B7;&#x53D6;&#x7FFB;&#x8BD1;&#x5931;&#x8D25;!&quot;);&#xA;return text;&#xA;}&#xA;Root rt = JsonConvert.DeserializeObject&amp;lt;Root&amp;gt;(retString);&#xA;for (int i = 0; i &amp;lt; rt.trans_result.Count; i&#x2B;&#x2B;)&#xA;{&#xA;return(rt.trans_result[i].dst);&#xA;}&#xA;}&#xA;}&#xA;public class Trans_resultItem&#xA;{&#xA;public string src { get; set; }&#xA;public string dst { get; set; }&#xA;}&#xA;public class Root&#xA;{&#xA;public string @from { get; set; }&#xA;public string to { get; set; }&#xA;public List&amp;lt;Trans_resultItem&amp;gt; trans_result { get; set; }&#xA;}&#xA;public class Baidu&#xA;{&#xA;public string BaiduTrans(string text)&#xA;{&#xA;string q = text;&#xA;string from = &quot;auto&quot;;&#xA;string to = &quot;zh&quot;;&#xA;// your APP ID&#xA;string appId = &quot;&quot;;&#xA;Random rd = new Random();&#xA;string salt = rd.Next(100000).ToString();&#xA;// your key&#xA;string secretKey = &quot;&quot;;&#xA;string sign = EncryptString(appId &#x2B; q &#x2B; salt &#x2B; secretKey);&#xA;string url = &quot;http://api.fanyi.baidu.com/api/trans/vip/translate?&quot;;&#xA;url &#x2B;= &quot;q=&quot; &#x2B; WebUtility.HtmlEncode(q);&#xA;url &#x2B;= &quot;&amp;from=&quot; &#x2B; from;&#xA;url &#x2B;= &quot;&amp;to=&quot; &#x2B; to;&#xA;url &#x2B;= &quot;&amp;appid=&quot; &#x2B; appId;&#xA;url &#x2B;= &quot;&amp;salt=&quot; &#x2B; salt;&#xA;url &#x2B;= &quot;&amp;sign=&quot; &#x2B; sign;&#xA;HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);&#xA;request.Method = &quot;GET&quot;;&#xA;request.ContentType = &quot;text / html; charset = UTF - 8&quot;;&#xA;request.UserAgent = null;&#xA;request.Timeout = 6000;&#xA;HttpWebResponse response = (HttpWebResponse)request.GetResponse();&#xA;Stream myResponseStream = response.GetResponseStream();&#xA;StreamReader myStreamReader = new StreamReader(myResponseStream, Encoding.GetEncoding(&quot;utf-8&quot;));&#xA;string retString = myStreamReader.ReadToEnd();&#xA;myStreamReader.Close();&#xA;myResponseStream.Close();&#xA;return retString;&#xA;}&#xA;public string EncryptString(string str)&#xA;{&#xA;MD5 md5 = MD5.Create();&#xA;byte[] byteOld = Encoding.UTF8.GetBytes(str);&#xA;byte[] byteNew = md5.ComputeHash(byteOld);&#xA;StringBuilder sb = new StringBuilder();&#xA;foreach (byte b in byteNew)&#xA;{&#xA;sb.Append(b.ToString(&quot;x2&quot;));&#xA;}&#xA;return sb.ToString();&#xA;}&#xA;}</pre><textarea id="code01a0cbfc61f27248836ef2d1d5c0c9ac" name="code01a0cbfc61f27248836ef2d1d5c0c9ac" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
<media:thumbnail url="https://www.clipboardfusion.com/Discussions/Download/?ID=d1c6f8d9-2b8d-437d-bca7-d220c9661af1"/>
</item>
<item>
<title>How can  using Newtonsoft.json</title>
<link>https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3</link>
<pubDate>Tue, 28 Dec 2021 07:34:38 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/how-can-using-newtonsoftjson/?ID=5af0c734-8938-4aca-bf7c-3bd93b362ce3</guid>
<category>ClipboardFusion</category>
<description><![CDATA[I need using Newtonsoft.json deserialize a json.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I need using Newtonsoft.json deserialize a json.
</div>
]]></content:encoded>
<media:thumbnail url="https://www.clipboardfusion.com/Discussions/Download/?ID=d1c6f8d9-2b8d-437d-bca7-d220c9661af1"/>
</item>
</channel>
</rss>