mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-08-10 08:04:42 +02:00
Updated Avoiding pitfalls (markdown)
@@ -55,7 +55,7 @@ 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 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://bblanchon.github.io/ArduinoJson/faq/the-first-parsing-succeeds-why-does-the-next-ones-fail)
|
||||
See [FAQ: The first parsing succeeds, why does the next ones fail?](https://bblanchon.github.io/ArduinoJson/faq/the-first-parsing-succeeds-why-do-the-next-ones-fail)
|
||||
|
||||
#### 5. Keep the JSON string in memory long enough
|
||||
|
||||
|
Reference in New Issue
Block a user