From 15b4659e0552fdf5119dee4ee5c41b6b6f05e6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Blanchon?= Date: Sun, 20 Nov 2016 11:32:04 +0100 Subject: [PATCH] Updated Avoiding pitfalls (markdown) --- Avoiding-pitfalls.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Avoiding-pitfalls.md b/Avoiding-pitfalls.md index e354a66..6aeaeae 100644 --- a/Avoiding-pitfalls.md +++ b/Avoiding-pitfalls.md @@ -13,6 +13,8 @@ There are basically two reasons why they may fail: So, if you are sure the JSON string is correct and you still can't parse it, you should try to increase the size of the `StaticJsonBuffer`. +You can use the [JsonBuffer size calculator](https://bblanchon.github.io/ArduinoJson/) to compute the required size. + #### 2. Make sure everything fits in memory You may go into unpredictable trouble if you allocate more memory than your processor really has.