Updated Avoiding pitfalls (markdown)

Benoît Blanchon
2015-07-25 16:39:22 +02:00
parent 41d5a9e1f1
commit 04c33afe3c

@@ -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`. 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 #### 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. If you read carefully the previous section, you may have come to the conclusion that the JSON parser modifies the JSON string.