mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Added DeserializationOption::Filter (closes #959)
This commit is contained in:
@@ -34,6 +34,11 @@ class StringMover {
|
||||
return StringBuilder(&_ptr);
|
||||
}
|
||||
|
||||
// recover memory from last string
|
||||
void reclaim(const char* str) {
|
||||
_ptr = const_cast<char*>(str);
|
||||
}
|
||||
|
||||
private:
|
||||
char* _ptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user