BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. HTML5 Canvas
  2. Ruby
  3. iPhone/iPad
  4. Spring Web Flow
  5. REST
  1. jQuery Selectors
  2. Spring Config.
  3. Java
  4. Ajax
  5. Java Concurrency

Link Details

Link 697877 thumbnail
User 931607 avatar

By pareshmayani
via technotalkative.com
Published: Nov 18 2011 / 04:53

Excellent article to learn JSON Parsing (deserializing JSON) in Android.
  • 7
  • 0
  • 1432
  • 605

Comments

Add your comment
User 368023 avatar

yakkoh replied ago:

0 votes Vote down Vote up Reply

That reminds me: another improvement to Java 8: triple quotes à la Python.
see line:
private String strJSONValue = ...

User 931607 avatar

Paresh Mayani replied ago:

0 votes Vote down Vote up Reply

@yakkoh i didn't get what you are trying to say. can you please?

User 368023 avatar

yakkoh replied ago:

0 votes Vote down Vote up Reply

Below paragraph title "Full source code:" there is Java program with a line of JSON data to test the program.
But it's full of escapes because of the quotes.
Python has a triple quote notation where you can put just about anything without errors.
see: http://docs.python.org/py3k/reference/lexical_analysis.html#literals
Java #8 should have this feature.

User 931607 avatar

Paresh Mayani replied ago:

0 votes Vote down Vote up Reply

Ok got your point exactly :)
Thanx

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)