From 262e191af68675c7cf627aec89c5befb60cfca5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Blanchon?= Date: Sun, 13 Nov 2016 20:45:56 +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 412df3c..4fd8204 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://rawgit.com/bblanchon/ArduinoJson/master/scripts/buffer-size-calculator.html) will be of great help. +If you're in this situation, [JsonBuffer size calculator](https://bblanchon.github.io/ArduinoJson/) 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.