Add JSON support

This commits adds JSON support by adding Jsmn
(http://zserge.com/jsmn.html), a minimalistic JSON parser.

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
Drasko DRASKOVIC 2016-05-04 22:43:02 +02:00 committed by Angus Gratton
parent b2c032a867
commit e7607ffc2b
5 changed files with 130 additions and 0 deletions

10
extras/jsmn/component.mk Normal file
View file

@ -0,0 +1,10 @@
# Component makefile for extras/jsmn
# expected anyone using jsmn json component includes it as 'jsmn/jsmn.h'
INC_DIRS += $(jsmn_ROOT)jsmn
# args for passing into compile rule generation
jsmn_INC_DIR =
jsmn_SRC_DIR = $(jsmn_ROOT)jsmn
$(eval $(call component_compile_rules,jsmn))