Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

json · JSON JavaScript Object Notation

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 590
  • Category: Data Formats
  • Founded: Jul 19, 2005
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 1552 - 1581 of 1958   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#1552 From: "Douglas Crockford" <douglas@...>
Date: Wed Oct 6, 2010 5:54 am
Subject: Talk with Crock
douglascrock...
Send Email Send Email
 
I will be doing a session at Silicon Valley Codecamp at Foothill College in Los
Altos, California on Saturday, October 9 at 11:15am. I will be talking about
JSON and other things. Registration is free.

http://www.siliconvalley-codecamp.com/

#1553 From: "Mark Joseph" <mark@...>
Date: Mon Oct 11, 2010 6:06 pm
Subject: New Product that supports JsonML, JSON, XML, and XPath 2.0
markjoseph_sc
Send Email Send Email
 
JDXâ„¢ XPath 2.0 for XML, JSON and JsonML

https://www.p6r.com/software/jdx.html#


Regards,

Mark Joseph, Ph.D.
President
P6R, Inc
408-205-0361
mark@...
Skype: markjoseph_sc
   _____

From: Douglas Crockford [mailto:douglas@...]
To: json@yahoogroups.com
Sent: Thu, 22 Apr 2010 14:40:32 -0700
Subject: [json] Re: New JSON library






--- In json@yahoogroups.com, jonathan wallace <ninja9578@...> wrote:
   >
   > libJSON 4.0 now fully supports \u escaped sequences if built using unicode. 
I've added project targets for the library, test suite, and embedded test suites
for these.  Unicode builds now use wstring and wchar_t strings to be able to fit
wide UTF8 characters, where regular builds still use string and chars as most
users use them.
   >
   > I also made number parsing lazy for a slight speed boost. :)
   >
   > http://sourceforge.net/projects/libjson/

   Does it do the right thing with "\uD834\uDD1E"? See
http://www.ietf.org/rfc/rfc4627.txt




[Non-text portions of this message have been removed]

#1554 From: "Douglas Crockford" <douglas@...>
Date: Tue Nov 2, 2010 10:35 pm
Subject: json-sv
douglascrock...
Send Email Send Email
 
The JSON.org page is now available in Swedish.

http://www.JSON.org/json-sv.html

Thanks to Paul Cohen.

#1555 From: "stephan.beal" <sgbeal@...>
Date: Sun Nov 14, 2010 3:46 pm
Subject: new C++ JSON lib: nosjob
stephan.beal
Send Email Send Email
 
Hi, all!

For the C++ coders out there without a favourite JSON library, here's a new one
for you:

http://fossil.wanderinghorse.net/repos/nosjob/

It's still heavily in development, but the basics all work. Input from
interested coders is always appreciated.

Happy hacking!

#1556 From: "Douglas Crockford" <douglas@...>
Date: Thu Nov 18, 2010 6:56 pm
Subject: json2.js
douglascrock...
Send Email Send Email
 
json2.js is now available on Github.

https://github.com/douglascrockford/JSON-js

#1557 From: "dctonyburley" <aburley@...>
Date: Mon Dec 13, 2010 12:20 pm
Subject: Help With jSON
dctonyburley
Send Email Send Email
 
Hey Folks,

Here is the URL for my test site  - http://showmercyonus.appspot.com/transaction

The second row is a combination of JSON & AJAX that renders some stock info.
Right now I have the "DELL" stock symbol hard coded into the URI string.

1. I need to find how to pass any stock symbol a user types into the textbox
under the label called Symbol into the JSON Query and once the textbox losses
its focus the JSON AJAX code runs again and renders the second row with update
information based on the request along with populating the text-box under the
Price label.
The code for the HTML page is below.

Thanks so much for any assistance that you may be able to provide me with.

Tony


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<head>
<title>MyCashIsLost</title>
<link rel="stylesheet" type="text/css" href="static/style.css" media="screen" />

<!--Start of JSON AJAX to populate code-->
<script src="http://code.jquery.com/jquery-latest.js"></script>
     <script>
       $(document).ready(function(){
        
$.getJSON("http://mdbitz.com/testing/PHPYahooFinance/finance.php?symbol=DELL&cal\
lback=?",
           function(data){
             $("#symbol").text( data.symbol );
             $("#previousClose" ).text( data.previousClose );
             $("#open" ).text( data.open );
             $("#lastTrade").text( data.lastTrade );
             $("#lastTradeTime").text( data.lastTradeTime );
             $("#change").text( data.change );
             $("#daysLow").text( data.daysLow );
             $("#daysHigh").text( data.daysHigh );
             $("#volume").text( data.volume);
           }
         );
      });
      </script>


<!--END of JSON AJAX to populate code-->


</head>
<body>
<div id="header">
<h1>MyCashIsLost</h1>
  <div id="menu">
   <ul id="nav">
    <li><a href="/">Dashboard</a></li>
    <li><a href="/portfolio">Portfolio</a></li>
    <li><a href="/transaction">Transaction</a></li>
    <li><a href="research">Research</a></li>
   </ul>
  </div>
</div>
<div id="content">
<div id="right">
<h2>Would you like to make a TRANSACTION?</h2>
<p>
Please select the desired action (buy or sell), and fill in the boxes
below.</br>
The latest price information will be retrieved from Yahoo Finance. </br>
Please click here if you need the complete table information of the stock names.

</p>


<form  action="/talk" method="post">
         <fieldset>
             <table>
                 <thead>
                 <tr>
                     <th width="100px">Symbol</th>
                     <th width="100px" align="center">Side</th>

                     <th width="100px">Type</th>
                     <th width="100px">Quantity</th>
                     <th width="100px">Price</th>
                     <td></td>
                 </tr>
                 </thead>
                 <tr>
                     <td align="center"><input name="symbol" type="text" size="8"
maxlength="8" /></td>
                     <td align="center">
                     <select name="side">
                         <option value="buy">Buy</option>
                         <option value="sell">Sell</option>
                     </select>
                     </td>
                     <td align="center"><span id="type">Stock</span></td>
                     <td align="center"><input name="qty" type="text" size="8"
maxlength="8" /></td>
                     <td align="center"><input name="price" type="text" size="8"
maxlength="8" /></td>
                     <td><input type="submit" value="Place Order"/></td>
                 </tr>
                 </table>
         </fieldset>
         </form>

     <form  method="post">
         <fieldset>
             <table>
                 <thead>
                 <tr>
                     <th width="100px" align="center">Symbol</th>
                     <th width="100px" align="center">Side</th>
                     <th width="100px" align="center">Type</th>
                     <th width="100px" align="center">Quantity</th>
                     <th width="100px" align="center">Price</th>
                     <td></td>
                 </tr>
                 </thead>
                 {% for m in msg_list %} {# (3) #}
                 <tr>
                     <td align="center">{{ m.symbol }}</td>
                     <td align="center">{{ m.side }}</td>
                     <td align="center">Stock</td>
                     <td align="center">{{ m.qty }}</td>
                     <td align="center">{{ m.price }}</td>
                 </tr>
                 {% endfor %}
                 </table>
     </fieldset>
</form>


<!--START CODE FOR - Div Tag Ans Table For AJAX INFO-->
<div id="quote">
       <table cellspacing="0" cellpadding="3" border="1">
         <tr>
           <th>Symbol</th>
           <th>Last Trade</th>
           <th>Last Trade Time</th>
           <th>Change</th>
           <th>Open</th>
           <th>Previous Close</th>
           <th>Day's Low</th>
           <th>Day's High</th>
           <th>Volume</th>
         </tr>
         <tr>
           <td id="symbol"></td>
           <td id="lastTrade"></td>
           <td id="lastTradeTime"></td>
           <td id="change"></td>
           <td id="open"></td>
           <td id="previousClose"></td>
           <td id="daysLow"></td>
           <td id="daysHigh"></td>
           <td id="volume"></td>
         </tr>
       </table>
     </div>
<!--END CODE FOR - Div Tag Ans Table For AJAX INFO-->

#1558 From: "Douglas Crockford" <douglas@...>
Date: Tue Dec 21, 2010 7:11 pm
Subject: package org.json on Github
douglascrock...
Send Email Send Email
 
The reference implementation for Java is now available from Github.

https://github.com/douglascrockford/JSON-java

#1559 From: John Cowan <cowan@...>
Date: Tue Dec 21, 2010 8:46 pm
Subject: Re: package org.json on Github
johnwcowan
Send Email Send Email
 
Douglas Crockford scripsit:
> The reference implementation for Java is now available from Github.
>
> https://github.com/douglascrockford/JSON-java

I'm having some trouble deciphering your XML class.  Can you write
down in English the rules it uses to convert JSON to XML and vice versa?

Thanks.

--
While staying with the Asonu, I met a man from      John Cowan
the Candensian plane, which is very much like       cowan@...
ours, only more of it consists of Toronto.          http://www.ccil.org/~cowan
         --Ursula K. Le Guin, Changing Planes

#1560 From: "Douglas Crockford" <douglas@...>
Date: Fri Dec 24, 2010 7:20 pm
Subject: Re: package org.json on Github
douglascrock...
Send Email Send Email
 
--- In json@yahoogroups.com, John Cowan <cowan@...> wrote:
>
> Douglas Crockford scripsit:
> > The reference implementation for Java is now available from Github.
> >
> > https://github.com/douglascrockford/JSON-java
>
> I'm having some trouble deciphering your XML class.  Can you write
> down in English the rules it uses to convert JSON to XML and vice versa?


What specifically are you having trouble with?

#1561 From: "Tony" <anthonyrpelosi@...>
Date: Thu Jan 6, 2011 9:22 pm
Subject: WYSIWYG tool for generating JSON and XML?
anthonyrpelosi
Send Email Send Email
 
Does anyone know of a good WYSIWYG tool for creating a hierarchy of
objects/elements and fields/attributes that exports to both XML and JSON? I
downloaded XMLSpy (PC only) but my VMWare is on the fritz right now so I haven't
tested that out yet.

#1562 From: Patrick Maupin <pmaupin@...>
Date: Thu Jan 6, 2011 9:48 pm
Subject: Re: WYSIWYG tool for generating JSON and XML?
patmaupin
Send Email Send Email
 
Not really a wysiwyg, but I have a different textual representation of JSON
called RSON.  It's extremely easy to work with in a text editor.

The manual is here:
http://code.google.com/p/rson/downloads/detail?name=rson_0_06_manual.pdf

An example file using this is here:
http://code.google.com/p/rst2pdf/source/browse/trunk/rst2pdf/styles/default.styl\
e?r=2417

It is extremely easy to parse this and then output JSON -- basically a 2
line python program once the libraries are installed.

There is also a RSON superset -> XML example here:
http://code.google.com/p/rson/source/browse/trunk/py2x/tools/testxml.py?r=103


Regards,
Pat


On Thu, Jan 6, 2011 at 3:22 PM, Tony <anthonyrpelosi@...> wrote:

>
>
> Does anyone know of a good WYSIWYG tool for creating a hierarchy of
> objects/elements and fields/attributes that exports to both XML and JSON? I
> downloaded XMLSpy (PC only) but my VMWare is on the fritz right now so I
> haven't tested that out yet.
>
>
>


[Non-text portions of this message have been removed]

#1563 From: "Douglas Crockford" <douglas@...>
Date: Mon Jan 24, 2011 6:48 pm
Subject: Java JSON
douglascrock...
Send Email Send Email
 
The JSON.org page currently lists 21 packages for Java. Will the Java community
ever converge on one as some other language communities are doing?

#1564 From: John Cowan <cowan@...>
Date: Mon Jan 24, 2011 7:05 pm
Subject: Re: Java JSON
johnwcowan
Send Email Send Email
 
Douglas Crockford scripsit:

> The JSON.org page currently lists 21 packages for Java. Will the Java
> community ever converge on one as some other language communities
> are doing?

I would say that that could happen in only a few ways:

1) If someone shepherded a particular library through the JCP, a clunky and
bureaucratic process whose future is much doubted

2) If you as JSON BDFL pushed one of them.

Also, google-gson is not just a plain JSON library, and jsonix is actually
a JavaScript, not a Java library.  There are probably other such errors.

--
John Cowan   cowan@...  http://www.ccil.org/~cowan
Most languages are dramatically underdescribed, and at least one is
dramatically overdescribed.  Still other languages are simultaneously
overdescribed and underdescribed.  Welsh pertains to the third category.
         --Alan King

#1565 From: Tatu Saloranta <tsaloranta@...>
Date: Mon Jan 24, 2011 9:18 pm
Subject: Re: Java JSON
cowtowncoder
Send Email Send Email
 
On Mon, Jan 24, 2011 at 10:48 AM, Douglas Crockford
<douglas@...> wrote:
> The JSON.org page currently lists 21 packages for Java. Will the Java
community ever converge on one as some other language communities are doing?

Probably not to the degree that there'd be just one. From the list I
think just maybe half a dozen are widely used for whatever that's
worth.
I think there is some actual convergence, especially in cases where
new projects choose from existing libraries. In JAX-RS (Jersey,
RESTeasy) space, for example, number of libraries that are supported
out of box is quite low, and tends to follow similar trajectory (start
with library that emulates xml processing, Jettison, or the reference
implementation; move on to lib(s) that do full data binding like
Jackson or json-lib).
I think authors of frameworks have more time and interest in doing due
diligence to figure out best components to use, which then limits
candidates that offer best set of features and support. And over time
users of frameworks seem to gravitate towards those libraries even
when developing stand-alone system.

One thing that irritates me is not so much number of alternatives but
the fact that most new candidates make bold claims but seem to offer
very little that is better or even different (in positive sense) from
existing choices.

-+ Tatu +-

#1566 From: Dennis Gearon <gearond@...>
Date: Mon Jan 24, 2011 10:10 pm
Subject: Re: Java JSON
gearond...
Send Email Send Email
 
If there was anything that bugs ME, is incomplete documentation and 'just read
the code' type of libraries.

  Dennis Gearon





________________________________
From: Tatu Saloranta <tsaloranta@...>
To: json@yahoogroups.com
Sent: Mon, January 24, 2011 1:18:43 PM
Subject: Re: [json] Java JSON


On Mon, Jan 24, 2011 at 10:48 AM, Douglas Crockford
<douglas@...> wrote:
> The JSON.org page currently lists 21 packages for Java. Will the Java
community
>ever converge on one as some other language communities are doing?

Probably not to the degree that there'd be just one. From the list I
think just maybe half a dozen are widely used for whatever that's
worth.
I think there is some actual convergence, especially in cases where
new projects choose from existing libraries. In JAX-RS (Jersey,
RESTeasy) space, for example, number of libraries that are supported
out of box is quite low, and tends to follow similar trajectory (start
with library that emulates xml processing, Jettison, or the reference
implementation; move on to lib(s) that do full data binding like
Jackson or json-lib).
I think authors of frameworks have more time and interest in doing due
diligence to figure out best components to use, which then limits
candidates that offer best set of features and support. And over time
users of frameworks seem to gravitate towards those libraries even
when developing stand-alone system.

One thing that irritates me is not so much number of alternatives but
the fact that most new candidates make bold claims but seem to offer
very little that is better or even different (in positive sense) from
existing choices.

-+ Tatu +-



[Non-text portions of this message have been removed]

#1567 From: John Cowan <cowan@...>
Date: Mon Jan 24, 2011 10:12 pm
Subject: Re: Java JSON
johnwcowan
Send Email Send Email
 
Dennis Gearon scripsit:

> If there was anything that bugs ME, is incomplete documentation and 'just read
> the code' type of libraries.

+1000

--
One Word to write them all,             John Cowan <cowan@...>
   One Access to find them,              http://www.ccil.org/~cowan
One Excel to count them all,
   And thus to Windows bind them.                --Mike Champion

#1568 From: Tatu Saloranta <tsaloranta@...>
Date: Mon Jan 24, 2011 11:39 pm
Subject: Re: Java JSON
cowtowncoder
Send Email Send Email
 
On Mon, Jan 24, 2011 at 2:10 PM, Dennis Gearon <gearond@...> wrote:
> If there was anything that bugs ME, is incomplete documentation and 'just read
> the code' type of libraries.

True. That also contributes to feeling of "but how is this different".
Maybe there are strengths, but if finding those requires reading
sources, yeah, that's lots to ask.

And it's also easier to accumulate documentation when projects grow;
and having small number of leading libs helps the snowball effect.

-+ Tatu +-

#1569 From: Dennis Gearon <gearond@...>
Date: Mon Jan 24, 2011 11:59 pm
Subject: Re: Java JSON
gearond...
Send Email Send Email
 
I'm working on documenting my own API (JSON, JSON-RPCish), and it's a lot of
work. I just keep reminding myself how I'd like to read it.



  Dennis Gearon


Signature Warning
----------------
It is always a good idea to learn from your own mistakes. It is usually a better
idea to learn from others’ mistakes, so you do not have to make them yourself.
from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036'


EARTH has a Right To Life,
otherwise we all die.




________________________________
From: Tatu Saloranta <tsaloranta@...>
To: json@yahoogroups.com
Sent: Mon, January 24, 2011 3:39:02 PM
Subject: Re: [json] Java JSON


On Mon, Jan 24, 2011 at 2:10 PM, Dennis Gearon <gearond@...> wrote:
> If there was anything that bugs ME, is incomplete documentation and 'just read
> the code' type of libraries.

True. That also contributes to feeling of "but how is this different".
Maybe there are strengths, but if finding those requires reading
sources, yeah, that's lots to ask.

And it's also easier to accumulate documentation when projects grow;
and having small number of leading libs helps the snowball effect.

-+ Tatu +-



[Non-text portions of this message have been removed]

#1570 From: "codeWarrior" <gpatnude@...>
Date: Wed Jan 26, 2011 3:13 pm
Subject: Re: Java JSON
gregpatnude
Send Email Send Email
 
--- In json@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
>
> The JSON.org page currently lists 21 packages for Java. Will the Java
community ever converge on one as some other language communities are doing?
>

Hopefully not... software is software... there's always more than one way to
skin the proverbial cat...

"there can be only one" is reminiscent of MicroSloth... As a developer, I
require options...

#1571 From: jonathan wallace <ninja9578@...>
Date: Thu Feb 3, 2011 1:54 pm
Subject: libjson 7.0 new features
ninja9578
Send Email Send Email
 
Hello all,

I just wanted to mention that a while ago I changed the name from libJSON to
libjson, would you mind reflecting that on json.org?

I added a ton of new stuff in this upgrade, most significantly, streaming
ability.  I got a bunch of requests for the ability to take a stream (like from
the internet) and parse it as it comes in.  Since it may be partial JSON, or
multiple JSON objects at a time, the stream will check each time something gets
added to it, and call a callback with the new node each time one is completed. 
This should make life a lot easier for those streaming JSON from websources.

I also added the option to turn off all libjson extensions such as comments,
hexidecimal support... so that only 100% compliant JSON is considered valid.

I exposed an interface to use libjson's base64 encoder and decoder since a few
people asked if they could use it.

There is a new makefile with lots more options, including an install script. 
(Thanks to Bernhard Fluehmann)

There were several other changes too, you can see them all in the changelog in
the documentation if you wish.
http://sourceforge.net/projects/libjson/

Jon




[Non-text portions of this message have been removed]

#1572 From: Tatu Saloranta <tsaloranta@...>
Date: Thu Feb 3, 2011 7:12 pm
Subject: Re: libjson 7.0 new features
cowtowncoder
Send Email Send Email
 
Interesting. One thing I noticed from the project page is that there
are big claims on performance, but it seems to lack links to actual
measurements? I was wondering if you can add links, so it is possible
to see actual performance numbers, figure out relative importance of
performance and so on
I have noticed that at least half of all JSON projects claim to be
faster than anyone else, so measurements could also clear up the
situation and keep everyone honest.

-+ Tatu +-

On Thu, Feb 3, 2011 at 5:54 AM, jonathan wallace <ninja9578@...> wrote:
> Hello all,
>
> I just wanted to mention that a while ago I changed the name from libJSON to
libjson, would you mind reflecting that on json.org?
>
> I added a ton of new stuff in this upgrade, most significantly, streaming
ability.  I got a bunch of requests for the ability to take a stream (like from
the internet) and parse it as it comes in.  Since it may be partial JSON, or
multiple JSON objects at a time, the stream will check each time something gets
added to it, and call a callback with the new node each time one is completed.
 This should make life a lot easier for those streaming JSON from websources.
>
> I also added the option to turn off all libjson extensions such as comments,
hexidecimal support... so that only 100% compliant JSON is considered valid.
>
> I exposed an interface to use libjson's base64 encoder and decoder since a few
people asked if they could use it.
>
> There is a new makefile with lots more options, including an install script.
 (Thanks to Bernhard Fluehmann)
>
> There were several other changes too, you can see them all in the changelog in
the documentation if you wish.
> http://sourceforge.net/projects/libjson/
>
> Jon
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

#1573 From: David Graham <david.malcom.graham@...>
Date: Thu Feb 3, 2011 7:36 pm
Subject: Re: libjson 7.0 new features
dgraham...
Send Email Send Email
 
If you'd prefer a really slow JSON parser, check out
https://github.com/dgraham/json-stream.  It's about 20x slower than the Ruby
json gem, but it's quite handy if you need to parse a single huge JSON
document in constant memory space.

Enjoy!

David


On Thu, Feb 3, 2011 at 12:12 PM, Tatu Saloranta <tsaloranta@...>wrote:

>
>
> Interesting. One thing I noticed from the project page is that there
> are big claims on performance, but it seems to lack links to actual
> measurements? I was wondering if you can add links, so it is possible
> to see actual performance numbers, figure out relative importance of
> performance and so on
> I have noticed that at least half of all JSON projects claim to be
> faster than anyone else, so measurements could also clear up the
> situation and keep everyone honest.
>
> -+ Tatu +-
>
> On Thu, Feb 3, 2011 at 5:54 AM, jonathan wallace
<ninja9578@...<ninja9578%40yahoo.com>>
> wrote:
> > Hello all,
> >
> > I just wanted to mention that a while ago I changed the name from libJSON
> to libjson, would you mind reflecting that on json.org?
> >
> > I added a ton of new stuff in this upgrade, most significantly, streaming
> ability.  I got a bunch of requests for the ability to take a stream (like
> from the internet) and parse it as it comes in.  Since it may be partial
> JSON, or multiple JSON objects at a time, the stream will check each time
> something gets added to it, and call a callback with the new node each time
> one is completed.  This should make life a lot easier for those streaming
> JSON from websources.
> >
> > I also added the option to turn off all libjson extensions such as
> comments, hexidecimal support... so that only 100% compliant JSON is
> considered valid.
> >
> > I exposed an interface to use libjson's base64 encoder and decoder since
> a few people asked if they could use it.
> >
> > There is a new makefile with lots more options, including an install
> script.  (Thanks to Bernhard Fluehmann)
> >
> > There were several other changes too, you can see them all in the
> changelog in the documentation if you wish.
> > http://sourceforge.net/projects/libjson/
> >
> > Jon
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
>


[Non-text portions of this message have been removed]

#1574 From: Gregg Irwin <gregg.irwin@...>
Date: Thu Feb 3, 2011 8:00 pm
Subject: Re[2]: libjson 7.0 new features
greggirwin143
Send Email Send Email
 
TS> I have noticed that at least half of all JSON projects claim to be
TS> faster than anyone else, so measurements could also clear up the
TS> situation and keep everyone honest.

A standard JSON benchmark perhaps?

--Gregg

#1575 From: Tatu Saloranta <tsaloranta@...>
Date: Fri Feb 4, 2011 12:03 am
Subject: Re: Re[2]: libjson 7.0 new features
cowtowncoder
Send Email Send Email
 
On Thu, Feb 3, 2011 at 12:00 PM, Gregg Irwin <gregg.irwin@...> wrote:
> TS> I have noticed that at least half of all JSON projects claim to be
> TS> faster than anyone else, so measurements could also clear up the
> TS> situation and keep everyone honest.
>
> A standard JSON benchmark perhaps?

Yes, one would be very useful. I know there are couple for Java
(general purpose ones that can also use JSON; and specific ones), but
haven't seen many for other platforms, or comparing between platforms.

-+ Tatu +-

#1576 From: jonathan wallace <ninja9578@...>
Date: Mon Feb 7, 2011 2:11 pm
Subject: Re: Re[2]: libjson 7.0 new features
ninja9578
Send Email Send Email
 
If there is a standard JSON benchmark that would be nice.


I've only compared it to wxJSON, cJSON, and a few others.

"People have always been impressed by the power of our example, not the example
of our power." - William Jefferson Clinton


From: Tatu Saloranta <tsaloranta@...>
To: json@yahoogroups.com
Cc:
Sent: Thursday, February 3, 2011 7:03 PM
Subject: Re: Re[2]: [json] libjson 7.0 new features



On Thu, Feb 3, 2011 at 12:00 PM, Gregg Irwin <gregg.irwin@...> wrote:
> TS> I have noticed that at least half of all JSON projects claim to be
> TS> faster than anyone else, so measurements could also clear up the
> TS> situation and keep everyone honest.
>
> A standard JSON benchmark perhaps?

Yes, one would be very useful. I know there are couple for Java
(general purpose ones that can also use JSON; and specific ones), but
haven't seen many for other platforms, or comparing between platforms.

-+ Tatu +-






[Non-text portions of this message have been removed]

#1577 From: Tatu Saloranta <tsaloranta@...>
Date: Mon Feb 7, 2011 10:09 pm
Subject: Re: Re[2]: libjson 7.0 new features
cowtowncoder
Send Email Send Email
 
On Mon, Feb 7, 2011 at 6:11 AM, jonathan wallace <ninja9578@...> wrote:
> If there is a standard JSON benchmark that would be nice.
>
>
> I've only compared it to wxJSON, cJSON, and a few others.

I suspect many users would like to see comparisons. Maybe blog about
it or such (and include test code), or send a link if already
published?

I don't doubt at all that there are differences, given difference
skill & experience levels of implementors (and the common "simplest
must be fasters" fallacy wrt performance). It's just hard to find out
real numbers when project home pages do not show measurements, just
state results.

-+ Tatu +-

#1578 From: Jonathan Wallace <ninja9578@...>
Date: Tue Feb 8, 2011 6:05 pm
Subject: Re: Re[2]: libjson 7.0 new features
ninja9578
Send Email Send Email
 
Well there is a benchmark included in the source, but it's mostly for my own
purposes of comparing upgrade versions against the previous version.  I think
ill come up a set of common json tasks and implement them in a few libraries or
ask the library maintained to do it to be sure it's done right.

Sent from my iPhone

On Feb 7, 2011, at 17:09, Tatu Saloranta <tsaloranta@...> wrote:

> On Mon, Feb 7, 2011 at 6:11 AM, jonathan wallace <ninja9578@...> wrote:
> > If there is a standard JSON benchmark that would be nice.
> >
> >
> > I've only compared it to wxJSON, cJSON, and a few others.
>
> I suspect many users would like to see comparisons. Maybe blog about
> it or such (and include test code), or send a link if already
> published?
>
> I don't doubt at all that there are differences, given difference
> skill & experience levels of implementors (and the common "simplest
> must be fasters" fallacy wrt performance). It's just hard to find out
> real numbers when project home pages do not show measurements, just
> state results.
>
> -+ Tatu +-
>


[Non-text portions of this message have been removed]

#1579 From: Tatu Saloranta <tsaloranta@...>
Date: Tue Feb 8, 2011 7:20 pm
Subject: Re: Re[2]: libjson 7.0 new features
cowtowncoder
Send Email Send Email
 
On Tue, Feb 8, 2011 at 10:05 AM, Jonathan Wallace <ninja9578@...> wrote:
> Well there is a benchmark included in the source, but it's mostly for my own
purposes of comparing upgrade versions against the previous version.  I think
ill come up a set of common json tasks and implement them in a few libraries or
ask the library maintained to do it to be sure it's done right.

That would be very useful! I know it might be bit of work, given
differing APIs and all.. but then again, it should be beneficial for
authors of other packages to work on being able to run similar tests.
So it should be possible to get things bootstrapped. This is how
"jvm-serializers" (https://github.com/eishay/jvm-serializers) for Java
serialization libraries started, and seems to work quite well.

-+ Tatu +-

#1580 From: "johne_ganz" <johne_ganz@...>
Date: Sun Feb 13, 2011 1:04 am
Subject: JSONKit
johne_ganz
Send Email Send Email
 
Since this is a group dedicated to JSON, I just thought I'd post a note about
yet another Objective-C serializer / deserializer: JSONKit, available at
https://github.com/johnezang/JSONKit

Also, I suspect this message will reach the right people, but perhaps someone on
the list could forward this message on to webmaster for json.org and add JSONKit
to the list of Objective-C implementations?  Many thanks in advance.

#1581 From: "mehdigholam@..." <mehdigholam@...>
Date: Sun Feb 20, 2011 9:39 am
Subject: smallest fastest polymorphic json serializer for .net
mehdigholam...
Send Email Send Email
 
Hello all,

Follow the link for my .net implementation.

http://www.codeproject.com/KB/IP/fastJSON.aspx

Cheers

Messages 1552 - 1581 of 1958   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help