62 ms·
But pretending JSON or YAML is something you can safely "change one string" on is a recipe for disaster unless you have total control of the whole pipe chain, i
by shadowgovt 6y ago
But pretending JSON or YAML is something you can safely "change one string" on is a recipe for disaster unless you have total control of the whole pipe chain, input to output.
- mike_ivanov 6y agoHow is it less safe than changing them in a (scriptable) text editor?
- shadowgovt 6y agoIt's not. Neither is a safe approach. A safe approach to mutating JSON is something like a small amount of JS to read in the JSON, mutate it as javascript objects, and JSON.stringify the result.