multiline string/string literal without escape processing
saeed yousefi
saeedtej at yahoo.com
Sun Aug 21 09:31:05 PDT 2011
In fact I have written a JSON/html lib myself like Gson , but writing such lib itself needs this feature .
________________________________
From: Rémi Forax <forax at univ-mlv.fr>
To: coin-dev at openjdk.java.net
Sent: Sunday, August 21, 2011 7:15 PM
Subject: Re: multiline string/string literal without escape processing
On 08/21/2011 12:48 PM, saeed yousefi wrote:
>
Hi
>
> Yes , I know I can put the text into external
resources but it doesn't mean that there shouldn't be such facility in
the language itself .
> so for what strings exist ? There are
lots of places where I want to return a short JSON response from server
and I can do it with this feature.
>
>
> regards
>
> saeed
Why not using a lib for that ?
http://stackoverflow.com/questions/338586/a-better-java-json-library
After all this is one of the great force of Java,
you want to do something in Java, there is an app lib for that.
Rémi
More information about the coin-dev
mailing list