BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Eclipse for Spring
  2. MVVM Pattern
  3. Eclipse RCP
  4. Silverlight/WP7
  5. Eclipse Plug-ins
  1. BIRT 3.7
  2. Ajax
  3. Eclipse
  4. jQuery Selectors
  5. Spring Config.

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
  • 1406
  • 604

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)