I have pushed a new patch-set #6 for http://review.whamcloud.com/7790. Where after re-base, I tried to answer to the multiple comments from previous patch-sets.
Andreas, is the new liblustreapi_json.c, what you wanted ? I am not really aware of this licensing protocols and thus about their packaging needs … What about the specific data-structures definitions being used, do they need to be in a separate .h file too with the appropriate header?
Jinshan, I did not remove the head-list structure llapi_json_item_list, because I find code more easy to read than without.
Landed for 2.6