author | Florian Forster <octo@collectd.org> | |
Fri, 6 Jul 2012 13:39:18 +0000 (15:39 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 6 Jul 2012 13:39:18 +0000 (15:39 +0200) | ||
commit | f5dd22c7af44798d3512d62f733b4e44a6c4ddb0 | |
tree | 8de3fa9982c6d97bc8b040077e71a0b60089075c | tree | snapshot |
parent | 20ef953018ec15376b5d5a243b0214e8babb06d0 | commit | diff |
src/utils_format_json.c: Various fixes for the meta data code.
* Moved to a separate function.
* Escape string values.
* Fix format string for [u]int64_t.
* Emit the JSON literals «true» and «false» rather than «0» and «1».
* Make certain keys are always freed.
* Move the meta data information into a separate map.
* Moved to a separate function.
* Escape string values.
* Fix format string for [u]int64_t.
* Emit the JSON literals «true» and «false» rather than «0» and «1».
* Make certain keys are always freed.
* Move the meta data information into a separate map.
src/utils_format_json.c | diff | blob | history |