... Ok that explains it. I shouldn't have assume it's for Java either. And it is true that for products that cover both xml and json, it is advantageous to use...
1211
Mark Joseph
markjoseph_sc
Feb 8, 2009 4:35 am
Ah I am sorry I was not clear we provide the JSON and XML tools to C++ users not Java. http://www.p6r.com/articles/2008/05/22/a-sax-like-parser-for-json/ On...
1210
Tatu Saloranta
cowtowncoder
Feb 8, 2009 3:16 am
... Yes, if your document has nesting level of about million or so. :-D So I don't think that is a practical concern. If it happens to be, then one can...
1209
Tatu Saloranta
cowtowncoder
Feb 8, 2009 3:10 am
... I don't see why you would need a license to implement an API. Generally licensing governs usage of API itself, distributing it, modifying etc. None of...
1208
Mark Joseph
markjoseph_sc
Feb 8, 2009 12:25 am
I was reading over the StAX specification and BEA provides licenses to the API, but that license prevents sublicenses. This means I as a vendor cannot provide...
1207
Fang Yidong
fangyidong
Feb 7, 2009 1:33 am
... Yes, it's convenient. But I think it may result in a call stack based processor instead of a heap based one, right? The former will cause stack overflow...
1206
Tatu Saloranta
cowtowncoder
Feb 6, 2009 7:13 pm
Hi Kris! I think this is a good group to have. :) One quick question: I was wondering about naming of the effort. To me, "Path" and "Query" imply somewhat...
1205
Kris Zyp
kriszyp
Feb 6, 2009 6:32 pm
For those who might be interested, I have started new a Google group/mailing list for the continued development of a language/syntax for JSON querying: ...
1204
Tatu Saloranta
cowtowncoder
Feb 6, 2009 6:08 pm
... Ah ok. Maybe I misread your comment: if you meant it's lower level of abstraction than a tree model, yes. I meant to say that SAX(-like) API is at similar...
1203
Fang Yidong
fangyidong
Feb 6, 2009 12:52 am
... I did go through JSR 173 before comparing. I mean, the StAX parser in your example is similar to a lexer such as org.json.simple.parser.Yylex: Yylex lexer...
1202
Tatu Saloranta
cowtowncoder
Feb 5, 2009 5:41 pm
... Not really. You may want to read a bit on Stax API for Java: I assume you are familiar with SAX API. Both operate at roughly same level of abstraction, and...
1201
Fang Yidong
fangyidong
Feb 5, 2009 7:28 am
Well, if I am right, the parser in your example is essentially a lexer, with slightly higher abstraction. It's true that it's convenient to control in simple...
1200
Tatu Saloranta
cowtowncoder
Feb 4, 2009 5:22 pm
... If you are interested in application code controlling parsing, why not just use Stax(-like) pull interface? Code example given would be quite a bit simpler...
1199
terry_caton
Feb 4, 2009 2:21 pm
... Yes it does. In fact, the library's built-in input/output capability is based on the standard istream & ostream classes, so any C++ stream-based ...
1198
json@yahoogroups.com
Feb 4, 2009 6:41 am
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the json group. File :...
1197
Fang Yidong
fangyidong
Feb 4, 2009 4:09 am
JSON.simple introduces a simplified and stoppable SAX-like content handler to process JSON text stream. Please take a look if you are interested in it: ...
1196
Mark Joseph
markjoseph_sc
Feb 3, 2009 7:03 pm
Does this interface allow the JSON data to be streamed in? Thanks, Mark P6R, Inc On Tue, 03 Feb 2009 12:26:31 -0000 ... Mark Joseph, Ph.D. President and...
1195
terry_caton
Feb 3, 2009 12:26 pm
Please check out my new C++ JSON interface library at: http://cajun-jsonapi.sourceforge.net/ What makes it better than the others already available? A major...
1194
Douglas Crockford
douglascrock...
Jan 30, 2009 11:06 pm
The JSON.stringify function builds a JSON text using the own properties of the objects it is given. If you want the text to also include the inherited...
1193
Tatu Saloranta
cowtowncoder
Jan 16, 2009 9:58 pm
On Fri, Jan 16, 2009 at 1:26 PM, Douglas Crockford ... Thank you. ... I think convergence will happen via sort of natural selection over time... although it...
1192
Douglas Crockford
douglascrock...
Jan 16, 2009 9:26 pm
... Updated. Thanks. ... Would you like to propose something? The Python community was able to converge on a single library. The Java community has not yet, as...
1191
Tatu Saloranta
cowtowncoder
Jan 16, 2009 6:24 pm
Doug, I realized that I hadn't sent you note about Jackson json processor moving to Codehaus. Could you update the link at json.org to point to: ...
1190
Fang Yidong
fangyidong
Jan 10, 2009 8:35 am
It will be great if you can add JSON.simple (latest version 1.0.2) in your test suite and let me know the results. I'll publish the testing source codes and...
1189
Tatu Saloranta
cowtowncoder
Jan 8, 2009 5:20 pm
... Thank you for quick answer! Would it be maybe possible to publish results of these internal tests? And/or maybe just cut'n paste your explanation -- it...
1188
Fang Yidong
fangyidong
Jan 8, 2009 8:57 am
It's base on some internal testing and testing of an independent author in some complex scenarios. The result show that the encoding of JSON.simple is as...
1187
Tatu Saloranta
cowtowncoder
Jan 7, 2009 5:12 pm
... Quick question: home page suggests that one benefit of the library is high performance. How is this determined, i.e. how has it been tested, and against...
Ahh, thanks! I tried that but thought it didn't work because this whole thing was masking a different Opera issue. Your post made me go back and look more...
1184
Leen Besselink
leen@...
Dec 16, 2008 10:50 am
... Hi, My college and me at work noticed this as well, we made a patch for it at the time. It seems we forgot to report it. It's fixed in newer versions of...
1183
Stephen M. McKamey
stephen.mckamey
Dec 16, 2008 1:43 am
It appears that versions of http://json.org/json2.js starting around May 2008 have issues in Opera. I've verified this in Opera 9.52 and Opera 9.27. The issue...