diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-12-13 19:39:24 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-17 15:03:22 +0100 |
commit | 264b7abf8da063a1942da8db248c2529e6ab3ffc (patch) | |
tree | 001e329443b3761a3bf1a2cab570a46ef51f411a /afb-helpers-utils.h | |
parent | 00c0381b981fd8ba9c2db650cf0575799d6e7249 (diff) |
wrap-json: Improvements
* Most call "d = skip(++d);" are replaced by
"d = skip(d + 1);" that is equivalent but that
virtually doesn't assign transiently d with d+1.
* make use of JSON_C_TO_STRING_NOSLASHESCAPE in
test to improve output. Use a macro to reduce the
code.
* enforce 'wrap_json_check' to use 'wrap_json_vcheck'
and 'wrap_json_match' to use 'wrap_json_vmatch'.
Change-Id: I6e823da40415db4b54ec809455c93b39a8c5e9a5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'afb-helpers-utils.h')
0 files changed, 0 insertions, 0 deletions