I am trying www.json.org, json-lib.sourceforge.net, sourceforge.net/projects/json and other web sites but I can't find a CVS repository containing org.json.
You know where i can fetch it ?
Thanks
[EDIT]
Oki, found it on the install wiki.I did not notice it chaged since I read it :/
Announcement
Collapse
No announcement yet.
Cannot find symbol jo.reset()
Collapse
X
-
Guest repliedOki.
In fact there are 2 differents URL:
The old method (i was looking) http://typo3.open-xchange.com/wiki/i...lding_JSON_jar
The new method from CVS:
Leave a comment:
-
Guest repliedRe-read the wiki section. There you will find new cvs instructions for json.
Leave a comment:
-
Guest repliedOki, JSONObject$Null.class is due to this in JSONObject.java :
Code:private static final class Null {
Leave a comment:
-
Cannot find symbol jo.reset()
Hi all,
I am on Debian Etch AMD64.
I installed all 3d parties librabry.
I build json.jar according the howto: http://typo3.open-xchange.com/wiki/i...lding_JSON_jar
When I make the compilation with javac I have a warning. It is said to be normal on the howto.
Inside the json.jar I have these files in /org/json:
JSONArray.class
JSONTokener.class
JSONException.class
JSONObject$Null.class
JSONObject$1.class
JSONObject.class
JSONString.class
JSONStringer.class
JSONWriter.class
I feel it strange to have 3 JSONObject files.
Then, when I launch ant, I have this message:
Code:/tmp/open-xchange/src/com/openexchange/ajax/Mail.java:1037: cannot f ind symbol [javac] symbol : method reset() [javac] location: class org.json.JSONObject [javac] jo.reset();
Here are the lines around 1037:
final JSONObject jo = new JSONObject();
for (int i = 0; i < insertedObjs.length; i++)
{
final CommonObject current = insertedObjs[i];
jo.reset();
ANy ideas ?
ThanksLast edited by Guest; 04-26-2007, 10:25 AM.Tags: None
Leave a comment: