1

Does anyone know why this does not work on Android?

JSONArray jsonList= new JSONArray("[\"a\"]");

and

JSONArray jsonList= new JSONArray("['a']"); 

Thank you.

Eenvincible
5,6462 gold badges29 silver badges47 bronze badges
asked Aug 31, 2014 at 0:46
4
  • You can check here stackoverflow.com/questions/2544119/… Commented Aug 31, 2014 at 0:51
  • Welcome to StackOverflow alex. This is a professional Q & A site. Please visit how to ask a question. Try to understand the model of this site. You cannot ask a duplicate, low quality, or unclear question and may get minus votes for this, and vice versa. Commented Aug 31, 2014 at 0:55
  • sorry, I'm still not very good at English. Now I understand why this site is so good Commented Aug 31, 2014 at 1:03
  • your question is not duplicate at all man, please do not accept anything that anyone can tell you, i know your answer if you like add comment beginning by @mmlooloo to tell me to come and answer that. +1 for your question. think and bravely disagree Commented Aug 31, 2014 at 17:52

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.