users@jersey.java.net
JSON format & javadocs
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Arun Gupta <
Arun.Gupta_at_Sun.COM
>
Date
: Thu, 30 Aug 2007 06:19:35 -0700
Where can I find an online version of Jettison JSON javadocs ?
The following method in a resource:
public JSONObject getJSONMessage() {
try {
return new JSONObject().put("greeting1", "Hello World");
} catch (JSONException ex) {
ex.printStackTrace();
}
return null;
}
returns the result as:
{"greeting1" : "Hello World" }
I need to generate:
{greeting1 : "Hello World" }
I looked at the source code at:
http://fisheye.codehaus.org/browse/~raw,r=26/jettison/trunk/src/main/java/org/codehaus/jettison/json/JSONObject.java
and could not find anything obvious.
-Arun
-- Web Technologies and Standards Sun Microsystems, Inc. Blog:
http://blogs.sun.com/arungupta
This message
: [
Message body
]
Next message
:
Aditya Gore: "Re: [newbie question]: missing entity provider?"
Previous message
:
Arun Gupta: "Re: On-the-wire message"
Next in thread
:
Paul Sandoz: "Re: JSON format & javadocs"
Reply
:
Paul Sandoz: "Re: JSON format & javadocs"
Reply
:
Jakub Podlesak: "Re: JSON format & javadocs"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]