author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 13 Jul 2010 11:58:34 +0000 (13:58 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 13 Jul 2010 11:58:34 +0000 (13:58 +0200) | ||
commit | b16fd65efea0f4073c967f9c93237585fcc7b88c | |
tree | 10e3a082ce34861956604a8a68737d811dee5fce | tree | snapshot |
parent | 731838e867501089fcac57518155e1a69d7ef8ea | commit | diff |
curl_json plugin: Use the "number" callback of libyajl.
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.
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.
src/curl_json.c | diff | blob | history |