-
I have attached a patch that works for me. Hope to see it integrated. Is there any specific reason why the calling convention is JSONObject.fromObject(myObject) instead of new JSONObject(myObject)? I like the idea of checking for cyclic, but not by using class (static) variables.
File Added: json-lib-thread.patch.
2007-09-21 01:22:08 UTC in Json-lib
-
Should JSON be threadsafe? I have traced it to the fact that the usage of the static keySet within AbstractJSON causing the following test program to return cyclic error when its actually not cyclic. And because of the static variable, I can't find any workaround besides adding synchronized block to my caller to JSONObject.fromObject, which I am reluctant to do for performance reasons.
Are...
2007-09-20 10:04:24 UTC in Json-lib
-
kiwlm committed revision 37 to the OpenTranscribe SVN repository, changing 1 files.
2006-12-20 15:07:01 UTC in OpenTranscribe
-
kiwlm committed revision 36 to the OpenTranscribe SVN repository, changing 1 files.
2006-12-05 03:28:02 UTC in OpenTranscribe
-
kiwlm committed revision 35 to the OpenTranscribe SVN repository, changing 2 files.
2006-12-05 03:27:34 UTC in OpenTranscribe
-
kiwlm committed revision 34 to the OpenTranscribe SVN repository, changing 2 files.
2006-12-05 03:26:50 UTC in OpenTranscribe
-
kiwlm committed revision 33 to the OpenTranscribe SVN repository, changing 1 files.
2006-12-05 03:25:54 UTC in OpenTranscribe
-
kiwlm committed revision 32 to the OpenTranscribe SVN repository, changing 1 files.
2006-11-01 03:14:59 UTC in OpenTranscribe
-
kiwlm committed revision 31 to the OpenTranscribe SVN repository, changing 3 files.
2006-11-01 03:14:19 UTC in OpenTranscribe
-
kiwlm committed revision 30 to the OpenTranscribe SVN repository, changing 2 files.
2006-11-01 03:13:15 UTC in OpenTranscribe