Using default value problem (x=json["Test"] | x;)
Created by: ttlappalainen
I have problem with using default value. I have on json: "Test": 1
const char *strTest;
double v=5;
v=jsonProperty[strTest] | v;
Works fine and returns 1, but
uint8_t v=5;
v=jsonProperty[strTest] | v;
returns 5 allways. Last works fine without | v