No there’re not
And as you say some people do write at scale.
> code readability and maintainability are just as important (if not more).
This is wrong, that’s all I was saying. Code right and it is readable anyway
const injectedValue = JSON.parse("$SERVER_JSON_VALUE.replace("\"","\\\"")");
// vs
const injectedValue = $SERVER_JSON_VALUE;
generally for a single value in the codebase is emphatically NOT a huge issue... and if it saves 80-120ms or so on the load, that's a significant impact. Not to mention the lower memory overhead while doing so.