I could not find good way to force value to be copied to buffer instead of referencing it, which does not work here. I can go around with Json[strGeneratedKey]=String(Generated);, which forces copy, ...
Is there a way to know easily if my JsonObject is a int or a string ? Because my object object["value"].as(); returns '0' if there is a string (or anything different than a number) or if there is ...