forked from collectd/collectd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
1 changed file
with
44 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters