commit | 4088530a129fb92257a0b64f4fa0ee98ea17a7dd | [log] [tgz] |
---|---|---|
author | Marti Bolivar <marti.bolivar@linaro.org> | Wed May 03 10:20:50 2017 -0400 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed May 03 13:52:57 2017 -0400 |
tree | 93591a2d968399324e4d96f367101ac97f1a5e7d | |
parent | 79917842970bb325f7bb7fa79831fcf6640533c2 [diff] |
lib: json: add JSON_OBJ_DESCR_PRIM There are already helper macros for declaring descriptor fields of object and array type. Add one for primitive types as well. The fact that the JSON test code defines one proves that it's useful, so there should be one provided for other users. Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>