Code

store_json: Moved special casing of parent objects into the caller.
authorSebastian Harl <sh@tokkee.org>
Mon, 28 Sep 2015 07:54:15 +0000 (09:54 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 28 Sep 2015 07:54:15 +0000 (09:54 +0200)
commit3603db13105aefac4d6ceb356bcfd118a92fa654
treeb4ec28c9ea50f00157ef4a776fdfd9306bdb8178
parentb75718ea9fe4d6c90f1794e517a0712729553c0c
store_json: Moved special casing of parent objects into the caller.

This makes the JSON module more generic by removing a special case of the
memory store. The caller may now emit arbitrary objects and the formatter will
do the right thing as long as parent-child relationships are right.
src/core/store_exec.c
src/core/store_json.c
t/unit/core/store_json_test.c