Bug #15546
closedjson numerical output is between quotes
0%
Description
eg. rados df --format json {"pools":[{"name":"cache","id":"4","size_bytes":"654457325949","size_kb":"639118483","num_objects":"379236","num_object_clones":"0","num_object_copies":"1137708","num_objects_missing_on_primary":"0","num_objects_unfound":"0","num_objects_degraded":"0","read_ops":"4509188","read_bytes":"771548416000","write_ops":"1988817863","write_bytes":"445934781936640"},{"name":"ecdata","id":"5","size_bytes":"281423075934690","size_kb":"274827222593","num_objects":"155674545","num_object_clones":"0","num_object_copies":"1712419995","num_objects_missing_on_primary":"0","num_objects_unfound":"0","num_objects_degraded":"0","read_ops":"6213840","read_bytes":"395244460032","write_ops":"358867414","write_bytes":"448559142914048"},{"name":"metadata","id":"6","size_bytes":"48836022","size_kb":"47692","num_objects":"6617242","num_object_clones":"0","num_object_copies":"19851726","num_objects_missing_on_primary":"0","num_objects_unfound":"0","num_objects_degraded":"0","read_ops":"110569347","read_bytes":"3116419604480","write_ops":"196497502","write_bytes":"5373589568512"},{"name":"rbd","id":"0","size_bytes":"0","size_kb":"0","num_objects":"3","num_object_clones":"0","num_object_copies":"9","num_objects_missing_on_primary":"0","num_objects_unfound":"0","num_objects_degraded":"0","read_ops":"0","read_bytes":"0","write_ops":"12","write_bytes":"0"}],"total_objects":"162671026","total_used":"386856566500","total_avail":"551704147448","total_space":"938560713948"}[
All these numbers shouldn't be in quotes, eg. for elasticsearch