API/Client: Use nested scope for JSON handling
authorWook Song <wook16.song@samsung.com>
Mon, 22 May 2023 08:06:17 +0000 (17:06 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 1 Jun 2023 05:33:11 +0000 (14:33 +0900)
commitf9420dcdce55bbaf38c7b381d4265601421ba8da
tree54108967695c3045c4cad489c4edd37cab1cc9b7
parent67925fe6b666d360641df83dee46ff3091114b43
API/Client: Use nested scope for JSON handling

This is a trivial patch for code cleaning. Toward better readability,
nested scope and g_auto* are used for JSON handling.

Signed-off-by: Wook Song <wook16.song@samsung.com>
c/src/ml-api-service-agent-client.c