From 9811b15bc39162d7dbf1a41b17580b133c94be43 Mon Sep 17 00:00:00 2001 From: pfabri Date: Tue, 29 Nov 2016 21:12:44 +0100 Subject: [PATCH] Typo and grammar fixes --- Avoiding-pitfalls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Avoiding-pitfalls.md b/Avoiding-pitfalls.md index 97d59d6..9239f94 100644 --- a/Avoiding-pitfalls.md +++ b/Avoiding-pitfalls.md @@ -53,7 +53,7 @@ During is lifetime a `JsonBuffer` growth until it's discarded. If you try to reu For this reason, **you should not use a global variable** for your `JsonBuffer`. I don't think there is any scenario in which a global `JsonBuffer` would be a valid option. -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. +The best practice is to **declare it in a local scope**, so that it's discarded as soon as possible. My advice is to declare it in a function whose 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)