Hi, Your project looks interesting, especially the benchmark method can help understand the performance in more details. I will try to put your parser and the...
Hello, I was sent a message on sourceforge a while ago about someone doing a benchmark test of the most popular c++ json libraries. He compared json_spirit...
This benchmark seems to test the wrong thing. A library that is lazy in parsing and pre-serializes on each update would likely perform poorly in real operation...
Oops, I mentioned that to the benchmarker, I thought he altered the benchmark. You can see the benchmark to libjson fully parsing in the comment of the...
Does the value type have to be a string, or does it support the other types, e.g. true/false, numbers, objects, arrays, etc. I believe it should be any valid...
Sorry, messed up the patch portion a little bit. It should be this instead: patch: [ { "add": "/obj", "value": {} }, { "add": "/obj/bool", "value": true }, {...
1786
Paul C. Bryan
paul.bryan@...
Dec 3, 2011 5:26 pm
It supports any value type, including objects and arrays. Paul ... [Non-text portions of this message have been removed]...
1787
Paul C. Bryan
paul.bryan@...
Dec 4, 2011 11:58 pm
I've submitted the latest JSON Patch Internet-Draft, posted here: http://tools.ietf.org/html/draft-pbryan-json-patch-03 It includes new "move" and "test"...
1788
Paul C. Bryan
paul.bryan@...
Dec 5, 2011 6:31 am
I quickly submitted another JSON Patch Internet-Draft, now posted here: http://tools.ietf.org/html/draft-pbryan-json-patch-04 It now provides a usage example...
Interesting proposal, it could be useful, but it still need some work ;-) I'm not sure if it's best using pure path / url syntax to find the target element or...
1790
Paul C. Bryan
paul.bryan@...
Dec 5, 2011 5:27 pm
Thanks for the feedback. My comments inline: ... The first draft of JSON Patch actually used JSON Path. Since JSON Path was not standardized, I had to choose...
... I think JSONPath is kind of a de facto standard. It was chosen by ebay to create its new SQL variant ( http://ql.io/examples ) I like JSON Schema but I'm...
1792
Paul C. Bryan
paul.bryan@...
Dec 5, 2011 6:10 pm
... No, this specification does not support mathematical, logical or string operations. Paul [Non-text portions of this message have been removed]...
Wrong mailing list -- you probably want to join http://groups.google.com/group/bson since this is related to BSON, not json. -+ Tatu +-...
1795
Paul C. Bryan
paul.bryan@...
Jan 2, 2012 5:50 am
I'm hoping someone can help explain the rationale behind a couple of points in the JSON specification: 1. 8bit content-transfer-encoding for UTF-8 RFC 4627:...
... Hmmh? Where does 994 come from? ... I assume this was to allow implementations to choose whether they keep track of all seen names or not: this can add...
... I think that statement is just a false assertion rather than a normative restriction. ... Nobody imposes any such limit. ... That's a very good question. ...
... From RFC 2045: 2.8. 8bit Data "8bit data" refers to data that is all represented as relatively short lines with 998 octets or less between CRLF line...
1799
Paul C. Bryan
paul.bryan@...
Jan 2, 2012 7:33 am
... Sorry, 996 octets. I think. Per RFC 2045 §2.8, 8bit data is "...represented as relatively short lines with 998 octets or less between CRLF line separation...
... JSON does not impose such a limit. ... This was so that ECMAScript39;s eval function could act as a JSON parser. I think it should have been MUST....
1802
Paul C. Bryan
paul.bryan@...
Jan 2, 2012 4:52 pm
Thanks for the explanations. A follow-up question below... ... Why isn't such a limit implied by specifying "8bit" in the IANA Recommendations? ... Paul...
1803
Paul C. Bryan
paul.bryan@...
Jan 4, 2012 7:00 pm
Bump. Is specifying "8bit" in the IANA recommendations not normative? Paul ... [Non-text portions of this message have been removed]...
Jansson 2.3 has been released. This release adds new features and fixes some minor bugs and documentation issues. Highlights: - Add json_object_foreach() for...
JASON is just like JSON, but unlike JSON it can: serialize objects with methods serialize objects with cyclic references understand Dates, Regexps, Booleans,...
I was hoping to get some feedback on a few changes I have planned for the Universal Binary JSON Specification (http://ubjson.org) Draft 9 before I made them...
A while ago I wrote the JsonMe++ wrapper library. Currently a wrapper for the parsing part of the glib JSON C library. https://github.com/pibara/jsonme-- ...