我试图发送JSON对象到我的PHP Web服务。
i am trying to send JSON object to my php webservice.
我已经提到这个网址: - 的http://www.josecgomez.com/2010/04/30/android-accessing-restfull-web-services-using-json/
I have referred this url :- http://www.josecgomez.com/2010/04/30/android-accessing-restfull-web-services-using-json/
在我的web服务,我要过的用户名和密码,但我不知道,
In my web service, I have to pass username and password but i don't know,
什么是GSON。你可以告诉这个原因GSON使用。????
what is the GSON. can you tell why GSON use in this.????
我是新的JSON。如果你知道JSON请指导我解决这个问题。
I am new in json. if you know about json please guide me to solve this problem.
GSON 是一个Java库,Java对象转换成JSON,反之亦然。你不需要它,除非你有一些复杂的JSON结构。对于简单的对象,你可以轻松地构建自己的JSON字符串。
GSON is a Java library to convert java objects to JSON and vice-versa. You don't need it unless you have some complex JSON structure. For simple objects you can easily construct the JSON string yourself.
上一篇:的Android NDK和渲染,以动态壁纸壁纸、动态、Andr、oid
下一篇:如何在运行 grizzly 的 java se 上启用 Web 服务(jaxrs/jersey)中的 CDI 注入?如何在、java、grizzly、se