ArduinoJson: API Reference

ARDUINOJSON_USE_DOUBLE

Determine the type used to store floating point values in JsonVariant.

  • If ARDUINOJSON_USE_DOUBLE == 0, then JsonVariant stores a float
  • If ARDUINOJSON_USE_DOUBLE == 1, then JsonVariant stores a double

Default is 0 of ARDUINO is defined, 1 otherwise.

Fork me on GitHub