Re:Software reuse is more like an organ transplant than snap...
by mike_ivanov on Thursday June 25, 2020 @01:00PM
(#23642790)
How is it less safe than changing them in a (scriptable) text editor?
[ Parent
| on HN ]
Re:Software reuse is more like an organ transplant than snap...
by shadowgovt on Thursday June 25, 2020 @01:40PM
(#23643292)
It'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.