numam-spdk/lib/json
Daniel Verkamp ed694026b8 json: fix spdk_json_write_val with nested objects
When recursively calling spdk_json_write_val() on another object or
array, the child call will handle printing out the whole
subobject/array, so the parent call should skip over all of its values.

Also fix the return value for the array/object case - if we get to the
end of the array or object, we should return 0 for success.

Change-Id: I1da80c88ab8759620114c1ab141baaaaf9f0023a
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-05-11 10:43:02 -07:00
..
json_internal.h json: add JSON parser and encoder libraries 2016-05-09 13:30:02 -07:00
json_parse.c json: add JSON parser and encoder libraries 2016-05-09 13:30:02 -07:00
json_util.c json: add JSON parser and encoder libraries 2016-05-09 13:30:02 -07:00
json_write.c json: fix spdk_json_write_val with nested objects 2016-05-11 10:43:02 -07:00
Makefile build: wrap $(CURDIR) relative paths in $(abspath) 2016-05-09 13:56:07 -07:00