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...
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...
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: ...
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 :...
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 ...
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...
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...
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...
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...
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...
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: ...
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...
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...
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...
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...
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...
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...
1212
Tatu Saloranta
cowtowncoder
Feb 8, 2009 6:09 am
... 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...
1213
Douglas Crockford
douglascrock...
Feb 13, 2009 10:07 pm
I have updated the JSONRequest proposal, removing the Origin feature. I have been persuaded that it can encourage bad practice. ...
1214
pigwin32
Feb 16, 2009 8:10 am
... This question may have been asked previously but a quick search didn't turn up anything. Why does JSONRequest only support GET/POST and propose a new...
1215
Tatu Saloranta
cowtowncoder
Feb 16, 2009 7:51 pm
... I am not a REST expert, but isn't PUT used to store given payload (in this case, request in form of Json), and DELETE just ignore payload? Meaning that...
1216
Jimmy Zhang
jzhang_ximpl...
Feb 18, 2009 8:35 pm
VTD-XML 2.5 is now released. Please go to https://sourceforge.net/project/showfiles.php? group_id=110612&package_id=120172&release_id=661376 to download the...
1217
Fang Yidong
fangyidong
Feb 20, 2009 7:08 am
Hello Tatu, While I was googling JSON.simple usage, I occasionally find JsonSimpleDriver.java in svn of codehaus, and the benchmark results, comparing with...
1218
Fang Yidong
fangyidong
Feb 20, 2009 7:14 am
Sorry this message is intended to send to Tatu only. My bad. Since the result is not published yet, let's discuss it privately. Hello Tatu, While I was...
1219
Tatu Saloranta
cowtowncoder
Feb 20, 2009 7:46 am
... Hi there! Yes, that is true. ... Sure, thank you for your input. I hadn't yet published it, but it is of course public from the blog. ... Hmmh. I don't...
1220
Tatu Saloranta
cowtowncoder
Feb 20, 2009 5:12 pm
... (took the discussion offline, but if anyone is interested in what results we are discussing, those are at: ...
1221
Alan Kennedy
alank1610
Mar 21, 2009 12:18 pm
Dear all, I am pleased to announce the publication of a new open source product, jyson, a pure java JSON codec for jython 2.5. You can access source code,...
1222
violinssoundcool
violinssound...
Mar 23, 2009 7:21 pm
Hi. I'm using JSON with JQGrid in an inquiry program. I'm building a JSON string with the server-side program, and the string contains an HTML hyperlink tag....
1223
Stephen M. McKamey
stephen.mckamey
Mar 23, 2009 8:01 pm
It's valid JSON but not HTML. You're effectively closing the href attribute with the first \" in the URL. First off, it's is going to be an issue because...
1224
Tatu Saloranta
cowtowncoder
Mar 23, 2009 8:35 pm
On Mon, Mar 23, 2009 at 12:53 PM, Stephen M. McKamey <jsonml@...> wrote: ... This does seem to be the case, and if so, I agree that it's time to use a...