curl_json plugin: Use the "number" callback of libyajl.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 13 Jul 2010 11:58:34 +0000 (13:58 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 13 Jul 2010 11:58:34 +0000 (13:58 +0200)
The "integer" callback only works with "long"s, which are 32bit on
x86 and other 32bit architectures. The "number" callback gets the raw
string for us to parse ourselves – honoring the data source type in the
process.

The "integer" and "double" callbacks have been removed, since they are not
used if the "number" callback is present.


No differences found