By pareshmayani
via technotalkative.com
Published: Nov 18 2011 / 04:53
![]() | |
| BIRT 3.7 | |
| Written by: Michael Williams | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By pareshmayani
via technotalkative.com
Published: Nov 18 2011 / 04:53
Comments
yakkoh replied ago:
That reminds me: another improvement to Java 8: triple quotes à la Python.
see line:
private String strJSONValue = ...
Paresh Mayani replied ago:
@yakkoh i didn't get what you are trying to say. can you please?
yakkoh replied ago:
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.
Paresh Mayani replied ago:
Ok got your point exactly :)
Thanx
Voters For This Link (7)
Voters Against This Link (0)