OSDN Git Service

Change the way to treat nested json-objects
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Fri, 26 Aug 2016 04:47:54 +0000 (13:47 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Fri, 26 Aug 2016 04:47:54 +0000 (13:47 +0900)
commitc6c63f2b1f678445bf8ba79815fbf0004ab8ef47
tree55b22c33072948970fb7d76597afade67af98bb9
parent9719d79e25d77bc80626255de9fd40deb20c94b7
Change the way to treat nested json-objects

Previously the text converting parser assumes that all JSON object are
Plan or a children of Plans but Target Tables breaks the
assumption. This patch changes the way to detect the end of a Plan (or
a child of Plans) cleaner so that it can handle JSON objects other
than Plan.
pgsp_json.c
pgsp_json_int.h
pgsp_json_text.c