0

I have a SQLite table in my app, and i would like to take the values from the table, put them in a json object and send them to my server. The problem is i do not know how to handle the data. I would like to have add inside the JSONObject the values from each column as a List and I Would also like to put tags on the data. Basically I would like to have a BasicNameValuePair structure but ot be able to add lists on it. Basically i would something like this:

[tag]->[aNAME]
[columnA]->[dataA,dataA,...,dataA]
[columnB]->[dataB,dataB,...,dataB]

Is this possible??

1
  • i tried similar to that link change according to your req. Commented Jul 4, 2013 at 18:12

1 Answer 1

0

I like to use jackon for parsing json... it is quite easy, take a look.

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.