6

i am trying to send JSON object to my php webservice.

I have referred this url :- http://www.josecgomez.com/2010/04/30/android-accessing-restfull-web-services-using-json/

In my web service, I have to pass username and password but i don't know,

what is the GSON. can you tell why GSON use in this.????

I am new in json. if you know about json please guide me to solve this problem.

1 Answer 1

3

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.