mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-08-11 16:44:47 +02:00
Updated Avoiding pitfalls (markdown)
@@ -13,6 +13,8 @@ There are basically two reasons why they may fail:
|
|||||||
|
|
||||||
So, if you are sure the JSON string is correct and you still can't parse it, you should try to increase the size of the `StaticJsonBuffer`.
|
So, if you are sure the JSON string is correct and you still can't parse it, you should try to increase the size of the `StaticJsonBuffer`.
|
||||||
|
|
||||||
|
You can use the [JsonBuffer size calculator](https://bblanchon.github.io/ArduinoJson/) to compute the required size.
|
||||||
|
|
||||||
#### 2. Make sure everything fits in memory
|
#### 2. Make sure everything fits in memory
|
||||||
|
|
||||||
You may go into unpredictable trouble if you allocate more memory than your processor really has.
|
You may go into unpredictable trouble if you allocate more memory than your processor really has.
|
||||||
|
Reference in New Issue
Block a user