use type double in creating floating point JSON values
authorVincent Fu <Vincent.Fu@sandisk.com>
Tue, 13 Dec 2016 20:40:46 +0000 (15:40 -0500)
committerJens Axboe <axboe@fb.com>
Fri, 16 Dec 2016 17:57:04 +0000 (10:57 -0700)
commita2972f9667a0d5a97da90f73b4e167cc6d0aef5b
tree2a7d3cfd321a7bf2cb9e22cf722bedc575605432
parent0d60927f167d318a685b9e5309bb392c624776e4
use type double in creating floating point JSON values

struct json_value uses a double to store floating point values. Have json_create_value_float also take a double (instead of a float) as an argument.

Signed-off-by: Jens Axboe <axboe@fb.com>
json.c