mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-08-18 03:51:21 +02:00
Updated Avoiding pitfalls (markdown)
@@ -110,6 +110,8 @@ For instance, one could allocate all strings out of the loop:
|
||||
|
||||
The same principle applies to key and values of `JsonObject`.
|
||||
|
||||
Note: ArduinoJson 5.0 (currently in beta), make copies of `String` values but not `char*`.
|
||||
|
||||
#### 7. Make sure the string isn't read-only
|
||||
|
||||
If you read carefully the previous section, you may have come to the conclusion that the JSON parser modifies the JSON string.
|
Reference in New Issue
Block a user