java 适用于 Android 的最佳 json rpc 2.0 库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17105322/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Best json rpc 2.0 library for Android
提问by overflowed
I have json rpc 2.0 server written in php. Currently I'm looking for a library that allows auto generation json rpc requests instead of using manual serialization.
我有用 php 编写的 json rpc 2.0 服务器。目前我正在寻找一个允许自动生成 json rpc 请求而不是使用手动序列化的库。
I found a bunch of different libraries and really don't know which is more convenient. Did anybody successfully use one?
我找了一堆不同的库,真的不知道哪个更方便。有人成功使用过吗?
采纳答案by Dmitry Guselnikov
The best library json I've ever found is JSON-RPC 2.0
我发现的最好的库 json 是JSON-RPC 2.0
For making requests you will need basepart of library. But if you want automatically handle server resonces you can take a look at clientlibrary. There are pretty much easy to understand tutorials. Hope it will help.
为了提出请求,您将需要库的基本部分。但是如果你想自动处理服务器共振,你可以看看客户端库。有非常容易理解的教程。希望它会有所帮助。
回答by valdis.matianus
android-json-rpcis a pretty simple library. Here is the documentation.
android-json-rpc是一个非常简单的库。这是文档。