Define ANJAY_MAX_DOUBLE_STRING_SIZE

Define Documentation

ANJAY_MAX_DOUBLE_STRING_SIZE

Maximum length supported for stringified floating-point values.

Used when parsing plaintext and SenML JSON content formats - when parsing a floating-point value, any string of length equal or greater than this setting will automatically be considered invalid, even if it could in theory be parsed as a valid number.

If editing this file manually, 512 shall be replaced with a positive integer literal.

The default value defined in CMake build scripts is 512. Minimal suggested setting for low-resource builds is 64.