在C#中的JSON-RPC客户端示例代码 [英] Sample code for JSON-RPC client in C#

查看:143
本文介绍了在C#中的JSON-RPC客户端示例代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在C#中简单的JSON-RPC 1.0客户端,最好使用.NET 2.0或更高版本。
我检查了JRock 0.9
他们有几个样本,包括雅虎阅读器,但样品演示JSON,不是JSON-RPC。
我知道我可以实现使用来自微软的任何可用的JSON解析器,如JRock或两个RPC的一部分。我宁愿一个现成的样本。

I need a simple JSON-RPC 1.0 client in C#, preferably using .NET 2.0 or later. I checked out JRock 0.9 They have several samples including Yahoo reader, but the samples demo JSON, not JSON-RPC. I understand I could implement RPC part using any of the available JSON parsers, like JRock or two from Microsoft. I would prefer a ready sample.

推荐答案

2的样品这里

有两种不同的实现。阅读整个主题+检查附件

There are two different implementations. Read the whole thread + check the attachments

这篇关于在C#中的JSON-RPC客户端示例代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆