From 4e632ead7414e25b3c76df5bcdc88a1ba0301469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Blanchon?= Date: Fri, 19 Feb 2016 13:43:34 +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 392fd93..4728990 100644 --- a/Avoiding-pitfalls.md +++ b/Avoiding-pitfalls.md @@ -53,6 +53,8 @@ For this reason, **you should not use a global variable** for your `JsonBuffer`. The best practice is to **declare it in a local scope**, so that it's discarded as soon as possible. My advice it to declare it in a function which unique role is to handle the JSON serialization. +See [FAQ: The first parsing succeeds, why does the next ones fail?](https://github.com/bblanchon/ArduinoJson/wiki/FAQ#the-first-parsing-succeeds-why-does-the-next-ones-fail) + #### 5. Keep the JSON string in memory long enough The library never make memory duplication.