Hello. I am thinking of using JSON for storing the data produced by my program. As I was reading through the website (json.org) I notice that the specification...
1941
douglascrockford
douglascrock...
Apr 7, 2013 5:45 pm
From RFC 4672 http://www.ietf.org/rfc/rfc4627.txt?number=4627 To escape an extended character that is not in the Basic Multilingual Plane, the character is...
1942
David Heiko Kolf
dhkolf
Apr 7, 2013 5:53 pm
... Yes, you can put post-BMP codepoints directly as part of the string literals. If there are control characters outside of the BMP in your text they could...
1943
John Cowan
johnwcowan
Apr 7, 2013 6:21 pm
... It can be represented either as the actual character, 4 bytes in any of UTF-8, UTF-16, or UTF-32; or else as two consecutive ASCII escapes: "\uD80492;uDC05"....
1944
douglascrockford
douglascrock...
Apr 7, 2013 6:30 pm
JavaScript, Java, and many other languages, were developed at a time when Unicode was going to be a 16-bit character set. Unicode later grew into a 21-bit...
1945
Dennis Gearon
gearond...
Apr 8, 2013 4:41 am
There's some contradiction in the json RFC. If the encoding 'shall be Unicode' and default is UTF-8 as is stated, then ALL normal planes, including those ...
1946
John Cowan
johnwcowan
Apr 8, 2013 9:11 am
... That's right. However, escapes are handy for representing stray Unicode characters that aren't easy to type, just as in HTML or XML. Unlike those...
1947
Shriramana Sharma
trivishtapam
Apr 8, 2013 1:51 pm
Hello people and thanks for your responses. I hope I understand correctly that compatibility with JavaScript and the ECMAScript standard dictates that it would...
1948
David Heiko Kolf
dhkolf
Apr 14, 2013 7:57 pm
Hello, I have released new versions of my Lua module dkjson and changed the URL. The new URL would be <http://dkolf.de/src/dkjson-lua.fsl/> and I was told...
1949
labviewhacker
Apr 26, 2013 12:20 pm
Hi Douglas and fellow JSON-lovers, Thank you for posting the JSON API I made for LabVIEW last year on JSON.org. I wanted to fix the name of the toolkit as...
1950
Jonas Tärnström
jskorpan
Apr 26, 2013 2:04 pm
Hi, We’ve released the ujson4c decoder, based on UltraJSON to which it adds a more painless API for robust and performant day to day C/C++ JSON decoding ...
1951
spineynorton
May 13, 2013 4:55 pm
I've just released a JSON decoder for Fortran that is built on top of YAJL. The YAJL-Fort project page is http://sourceforge.net/projects/yajl-fort/ It looks...
1952
yarosla
May 13, 2013 9:32 pm
NXJSON is full-featured yet very small (~400 lines of code) JSON parser, which has easy to use API. Features Parses JSON from null-terminated string Easy to...
1953
wjosdejong
May 14, 2013 7:01 am
Though very practical and desired by many, comments are not supported by JSON. To prevent compatibility issues in the future, it may be better to be consistent...
1954
Serhat
serhat.dirik
May 19, 2013 9:22 pm
Corn-Converter (website: https://sites.google.com/site/javacornproject/corn-converter) is small, fast and extensible JSON converter that written in java is...
1955
Peter brooks
fustbariclation
May 21, 2013 2:07 pm
I'm designing a system that should allow different views to different audiences. I understand that I can use application logic to control the access security,...
1956
Tatu Saloranta
cowtowncoder
May 22, 2013 9:59 am
I think the way most parsers deal with this is to make comment acceptance optional: such that by default it is disabled (produces parsing error), but can be...
1957
Stephan Beal
stephan.beal
May 22, 2013 10:10 am
... A partial workaround which i use in some projects: { "README": "this is the doc for this particular part of the JSON tree.", "data": ... } it has very...
1958
wjosdejong
May 22, 2013 11:02 am
The cases where I wish I could insert comments in a JSON file are normally cases where the file contains configuration for some application. I think JSON is...
1959
Dave Gamble
signalzerodb
May 26, 2013 1:00 am
Hi, THERE ARE NO COMMENTS IN JSON. I DO KNOW. With that out of the way, it's perfectly valid for someone to generate a textfile which, when passed through,...
1960
douglascrockford
douglascrock...
May 26, 2013 7:02 am
... Have you read the JSON RFC? http://www.ietf.org/rfc/rfc4627.txt 4. Parsers A JSON parser transforms a JSON text into another representation. A JSON...
1961
Dave Gamble
signalzerodb
May 26, 2013 12:35 pm
... be the case, and the root of my confusion) to be consensus that parsers should "keep JSON pure", and reject comments. I understand that according to the...
1962
douglascrockford
douglascrock...
May 26, 2013 12:41 pm
... ECMAScript39;s JSON.parse is very strict. The design assumption was that if you allow web developers to do something really stupid, many of them will. So a...
1963
Dave Gamble
signalzerodb
May 26, 2013 2:13 pm
... anyone to do anything stupid, since the Parse function remains equally strict. Cheers! Dave. ... [Non-text portions of this message have been removed]...
1964
Jonathan Wallace
ninja9578
May 27, 2013 1:31 am
Many libraries have support for comments. Libjson for example supports /* c comments */, //c++ comments, and #bash comments Sent from my iPhone...
1965
rkalla123
May 28, 2013 10:10 pm
=== Context === I have been working on the Universal Binary JSON Specification (http://ubjson.org/type-reference/) for almost 2 years; I originally launched it...
1966
douglascrockford
douglascrock...
Jun 5, 2013 12:13 pm
IETF and ECMA are working together to draft a JSON standard. You are welcome to participate. The following is is a message that to the members of ECMA TC39: ...
1967
Serhat
serhat.dirik
Jun 6, 2013 2:25 pm
Hi All, Corn-Gate project which is simply a SOA implementation that written in Java is published. It uses JsonRpc as it basic communication protocol to...
1968
Manu Sporny
manusporny
Jun 14, 2013 6:21 pm
Greetings all, I'm the chair of the JSON-LD group at the World Wide Web Consortium (W3C). If you don't know about JSON-LD yet, there's a quick intro about it...