mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Added string deduplication (closes #1303)
This commit is contained in:
@@ -248,8 +248,8 @@ class MsgPackDeserializer {
|
||||
_stringStorage.append('\0');
|
||||
if (!_stringStorage.isValid())
|
||||
return DeserializationError::NoMemory;
|
||||
_stringStorage.commit(_pool);
|
||||
result = _stringStorage.c_str();
|
||||
|
||||
result = _stringStorage.save(_pool);
|
||||
return DeserializationError::Ok;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user