diff --git a/FAQ.md b/FAQ.md index 6aec6a7..53a9812 100644 --- a/FAQ.md +++ b/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)