mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 03:01:57 +00:00
Currently, json_escape() allocates a temporary buffer on the stack that's the size of the string being escaped. Stack space is precious and longer JSON strings can run into the hundreds of bytes, so re-implement this routine to escape in place. Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org> |
||
---|---|---|
.. | ||
json.c | ||
json.h | ||
Kconfig | ||
Makefile |