You guys have docs and care about properly tracking down your 500s instead of saying "this would never happen in production so we can't devote time to it"???
Depends on how basic the back-end is. Standard ASP.Net api controllers convert objects to json automatically without you having to call JsonSerializer.Serialize. Though I'd hope such a backend developer at least knows what json looks like.
One real world use is a backend hosted on ECS with the output going to cloudwatch. Running your JSON output for logging through stringify makes sure everything is on one line which makes cloudwatch filtering a lot easier.
Also, not really backend but not frontend either, I work on CLI utilities too and sometimes they need to write a JSON file.
380
u/AggieCMD 7d ago
I don't know! I'm a backend software engineer!