Issue 40 in jayrock: Have JsonRpcClient use .NET 4.0 ExpandoObject to dynamically generate API

6 views
Skip to first unread message

jay...@googlecode.com

unread,
Jul 20, 2011, 11:10:28 AM7/20/11
to jayrock...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 40 by nialldouglas14: Have JsonRpcClient use .NET 4.0
ExpandoObject to dynamically generate API
http://code.google.com/p/jayrock/issues/detail?id=40

Most JSON-RPC client implementations dynamically generate their API
according to what is returned by system.listMethods. Therefore instead of
this:

Console.WriteLine(client.Invoke("sum", new JsonObject { { "a", 123 },
{ "b", 456 } }));

... one simply does this:

Console.WriteLine(client.sum(123, 456));

.NET now has the ExpandoObject facility to allow runtime generation of
methods. Having JsonRpcClient make use of this would make life for user
code much easier.

Thanks,
Niall


jay...@googlecode.com

unread,
Aug 25, 2015, 5:26:45 AM8/25/15
to jayrock...@googlegroups.com

Comment #1 on issue 40 by azizatif: Have JsonRpcClient use .NET 4.0
ExpandoObject to dynamically generate API
https://code.google.com/p/jayrock/issues/detail?id=40

This issue has been migrated to:
https://github.com/atifaziz/Jayrock/issues/40
The conversation continues there.
DO NOT post any further comments to the issue tracker on Google Code as it
is shutting down.
You can also just subscribe to the issue on GitHub to receive notifications
of any further development.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages