Hello, As there is no JSON standard for serializing the .net TimeSpan type, are there any suggestions? We could do the following: 1. TimeSpan -> long value...
1669
Mark Slater
markosslater
Jun 9, 2011 7:37 am
You might want to take a look at ISO 8061: http://en.m.wikipedia.org/wiki/ISO_8601. I don't know about .Net, but many languages have straightforward ways of...
1670
John Cowan
johnwcowan
Jun 9, 2011 1:53 pm
... The ISO 8601 standard represents a duration in days, hours, minutes, and seconds thus: "PnnnDTnnHnnMnn.nnnS". "P" indicates a duration and is mandatory....
1671
Paul C. Bryan
paul.bryan@...
Jun 9, 2011 6:08 pm
The second draft of the JSON Patch proposal has been published: http://tools.ietf.org/html/draft-pbryan-json-patch-01 Feedback would be most appreciated. The...
1672
Petri Lehtinen
akhern...
Jun 11, 2011 8:19 pm
Jansson 2.1 is out. This release adds a few new features and fixes some minor bugs. A new decoding function, json_loadb(), was added for decoding buffers with...
1673
lambdacreations
Jun 14, 2011 6:49 pm
Hi all, After reading up and using most the major Java JSON libraries, I thought I could do something better (at least for needs similar to my own's) and here...
1674
jonathan wallace
ninja9578
Jul 15, 2011 2:06 pm
I got a ton of requests for some security features, so I added DoS attack detection and prevention, also made it faster and fixed some bugs. ...
1675
keenerd
keenerd@...
Aug 12, 2011 9:40 pm
I noticed there was a small gap on json.org - there are no libraries intended for shell script processing. So I wrote one. http://kmkeen.com/jshon/ Jshon...
1676
Stephan Beal
stephan.beal
Aug 12, 2011 10:01 pm
... Somewhat related, but not the same thing: http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki?name=select-to-json it's for running queries from...
1677
Stephan Beal
stephan.beal
Aug 12, 2011 10:02 pm
... After a closer look at the first one, these two could be used together - select-to-json feeding jshon. -- ... http://wanderinghorse.net/home/stephan/ ...
1678
Petri Lehtinen
akhern...
Sep 3, 2011 10:28 am
Jansson 2.2 is out. This release adds a new encoding function and fixes some minor bugs and documentation glitches. The new encoding function,...
1679
pozzugno
Sep 6, 2011 4:30 pm
Dear group, I'm a firmware developer on small embedded platform. Until now, I used to read/write the in-memory configuration C structures (with padding bytes)...
1680
jonathan wallace
ninja9578
Sep 6, 2011 5:12 pm
I don't see why not. Â JSON is lightweight, I use it for configuration all the time. Â I maintain a project called libjson that might work well for you....
1681
Douglas Crockford
douglascrock...
Sep 6, 2011 5:28 pm
Silicon Valley Codecamp is a free software development conference held at Foothill College in Los Altos, California. I will be presenting there again this...
1682
Douglas Crockford
douglascrock...
Sep 6, 2011 5:36 pm
... Update: This year only, it will be held in 2011....
1683
pozzugno
Sep 6, 2011 6:43 pm
... It sounds interesting, I'll look at it in short time. Thank you for your suggestion....
1684
Douglas Crockford
douglascrock...
Sep 9, 2011 1:36 pm
The JSON page is now available in Danish, thanks to Michael Kramer. http://json.org/json-da.html...
1685
rkalla123
Sep 21, 2011 1:15 pm
Hey Guys, I am currently working on what I hope to be a 1:1 binary JSON specification (no custom data types supported like BSON or BJSON, just binary...
1686
Stephan Beal
stephan.beal
Sep 21, 2011 1:23 pm
... Keep in mind that JSON does not specify any required numeric precision, and some platforms cannot use int64. (JavaScript specifies 53 bits of precision, in...
1687
rkalla123
Sep 21, 2011 1:26 pm
Addendum: "Number" is broken into 4 types... it is early here: byte, int32, int64, double...
1688
rkalla123
Sep 21, 2011 1:58 pm
Stephan, Great feedback, these are exactly the kind of nuances I wanted to uncover and discuss. When I dug through the language specs looking for the most...
1689
Stephan Beal
stephan.beal
Sep 21, 2011 2:12 pm
... i've been using doubles for that purpose in that particular JS engine (v8). I found no way to deserialize JavaScript objects directly from a ... The "new"...
1690
rkalla123
Sep 21, 2011 3:29 pm
... Do you happen to have a link? This is something I'd like to know more about/play with a bit. Best, Riyad...
1691
Stephan Beal
stephan.beal
Sep 21, 2011 3:32 pm
... Here's a couple... http://www.lbi.co.uk/blog/latest/typed-arrays-in-javascript/ http://www.khronos.org/registry/typedarray/specs/latest/ -- ... ...
1692
John Cowan
johnwcowan
Sep 21, 2011 3:40 pm
... It's notable that neither of these provides an int64 type, only signed and unsigned 8-bit, 16-bit, and 32-bit integers plus short and long floats. -- Dream...
1693
Tatu Saloranta
cowtowncoder
Sep 21, 2011 4:45 pm
... You might be interested in an existing such specification called Smile: http://wiki.fasterxml.com/SmileFormatSpec which was specified about a year ago, has...
1694
Tatu Saloranta
cowtowncoder
Sep 21, 2011 4:48 pm
Btw, forgot to add: On Wed, Sep 21, 2011 at 6:15 AM, rkalla123 <rkalla@...> wrote: ... It would be great if you could contribute this to jvm-serialziers,...
1695
Martin Cooper
mfncooper
Sep 21, 2011 5:12 pm
... A couple of things from a quick skim of the document: * "As with JSON, all Strings are encoding in UTF-8" The *default* JSON encoding is UTF-8, but JSON...
1696
John Cowan
johnwcowan
Sep 21, 2011 5:22 pm
... Fortunately, these points don't affect the actual protocol, just the explanation. -- LEAR: Dost thou call me fool, boy? John Cowan FOOL: All thy other...
1697
Stephan Beal
stephan.beal
Sep 21, 2011 5:44 pm
... Thank you for that. Smile's requirement that impls be capable of supporting "shared strings" seems a bit draconian to me, though. That adds non-trivial ...