Thread save JsonObject params
Ability to lock jsonParams while reading or writing to them.
int a;
string b;
void func() {
// lock variable a, b
ParamsLock lock(this, a, b);
// implizit unlock when lock is destroyed
}
Ability to lock jsonParams while reading or writing to them.
int a;
string b;
void func() {
// lock variable a, b
ParamsLock lock(this, a, b);
// implizit unlock when lock is destroyed
}