mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-07 00:37:04 +01:00
Restore behaviour fromdd12251e437ba1283024unintentionally removed it Instead of reverting to the 'atof' code, just use the provided string as-is via RawJson (aka `serialized()` in the v6) Note that the old approach may have caused some silent data loss b/c the data could have been stored in 'double' or 'u64', where the ArduinoJson only stores 'u32' and 'float' in it's internal buffer and does not (really) warn us about any type incompatibilities. (at least by default. but, the alternative is to store all floating point numbers as 'double' internally, see ArduinoJson/Configuration.hpp) resolves #2503