mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 18:27:37 +02:00
Now use uint8_t to store decimal count
This commit is contained in:
@ -41,7 +41,7 @@ class JsonArray : public JsonPrintable<JsonArray>,
|
||||
}
|
||||
|
||||
value_type &add();
|
||||
void add(double value, int decimals) { add().set(value, decimals); }
|
||||
void add(double value, uint8_t decimals) { add().set(value, decimals); }
|
||||
void add(JsonArray &nestedArray) { add().set(nestedArray); }
|
||||
void add(JsonObject &nestedObject) { add().set(nestedObject); }
|
||||
|
||||
|
Reference in New Issue
Block a user