From bead4ef631991d9b117e70daf55d9065c0c84d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Blanchon?= Date: Sun, 29 Jan 2017 10:27:01 +0100 Subject: [PATCH] Updated Memory model (markdown) --- Memory-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Memory-model.md b/Memory-model.md index cfcd6ea..ecb5c19 100644 --- a/Memory-model.md +++ b/Memory-model.md @@ -33,7 +33,7 @@ For the example above, it would be: const int BUFFER_SIZE = JSON_OBJECT_SIZE(3) + JSON_ARRAY_SIZE(2); StaticJsonBuffer jsonBuffer; -If you're in this situation, [JsonBuffer size calculator](https://bblanchon.github.io/ArduinoJson/) will be of great help. +If you're in this situation, [ArduinoJson Assistant](https://bblanchon.github.io/ArduinoJson/assistant) will be of great help. In the second case, let's say you dynamically generate a JSON object tree of a random complexity so you can't put a limit based on that. But on the other hand, you don't want your program to crash because the object tree doesn't fit in memory. The solution here is to determine how much memory is available, or in other words how much memory you can afford for the JSON object tree.