zephyr/lib/json
Marti Bolivar 25d62edd01 lib: json: add helper macros for arrays of objects
Since JSON_OBJ_DESCR_ARRAY is suitable only for arrays of primitives,
add JSON_OBJ_DESCR_OBJ_ARRAY (and a ..._NAMED variant), to allow users
to handle arrays of objects.

Having a macro is important, given the unintuitive space optimization
used for storing the offset to the structure element containing the
number of elements in the array.

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
2017-06-08 15:11:23 -04:00
..
Kconfig lib: Add minimal JSON library 2017-03-09 20:33:45 +02:00
Makefile lib: Add minimal JSON library 2017-03-09 20:33:45 +02:00
json.c lib: json: fix arr_parse() 2017-06-08 15:11:23 -04:00
json.h lib: json: add helper macros for arrays of objects 2017-06-08 15:11:23 -04:00