mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-09-27 23:40:55 +02:00
Updated FAQ (markdown)
4
FAQ.md
4
FAQ.md
@@ -123,7 +123,9 @@ The solution here is to determine how much memory is available, or in other word
|
||||
|
||||
The third solution is to run your program an print `jsonBuffer.size()` to get the current size of the buffer.
|
||||
|
||||
**WARNING**: if you use `String` to create your JSON keys or values, there content will automatically be duplicated in the `JsonBuffer`, so you need to add the total length of all strings in the size of the `JsonBuffer`.
|
||||
**WARNING 1**: if you pass a `String` or a `const char*` to `parseArray()` or `parseObject`, the `JsonBuffer` will make a copy of the input, so it will need to be significantly bigger.
|
||||
|
||||
**WARNING 2**: if you use `String` to create your JSON keys or values, their content will automatically be duplicated in the `JsonBuffer`, so you need to add the total length of all strings in the size of the `JsonBuffer`.
|
||||
|
||||
See issue [#243](https://github.com/bblanchon/ArduinoJson/issues/243)
|
||||
|
||||
|
Reference in New Issue
Block a user