From ebed84ab557875c4fec2ffdff7cc07379ab9f22a Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 6 Jan 2022 11:50:03 -0800 Subject: [PATCH] json: increase default token size to 60 --- src/json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json.c b/src/json.c index 4952c260..1ae5608c 100644 --- a/src/json.c +++ b/src/json.c @@ -33,7 +33,7 @@ #include "shared/jsmn.h" /* Max number of tokens supported. Increase if larger objects are expected */ -#define JSON_DEFAULT_TOKENS 30 +#define JSON_DEFAULT_TOKENS 60 #define TOK_LEN(token) (token)->end - (token)->start #define TOK_PTR(json, token) (void *)((json) + (token)->start)