Fix libpcp_web json data type conversion
commit2291a4efb7d5d6005be4f2c5cb801033ce6d952d
authorLukas Berk <lberk@redhat.com>
Tue, 25 Oct 2016 15:35:41 +0000 (25 11:35 -0400)
committerLukas Berk <lberk@redhat.com>
Wed, 9 Nov 2016 15:00:47 +0000 (9 10:00 -0500)
tree9a7502e2103ea8c939c03c9fbfc6e9a71cfab466
parent79d3062ec5d62e4cf27e5e5f5648641e7fb8cea9
Fix libpcp_web json data type conversion

Previously we were making the (incorrect) assumption that every
numerical data type, if not a string or flag, was an int length
variable.

Add a flag_type where we can store the specific json_data type if
needed.
qa/src/json_test.c
src/include/pcp/pmjson.h
src/libpcp_web/src/json_helpers.c