JSON
Update JSON File with …
In this (very) short post I’ll show you a quick way to make simple edits to a .json file from the command line or using bash and NodeJS. Let’s say we want to update a value in a data.json file. With NodeJS installed on our system we can leverage the -p or --print command to evaluate a …
Parse JSON Values Using …
Sometimes you need to quickly find a value in a JSON object from a script or the command line. Using grep allows us to use native functionality (OS dependent) to get the information we need. I prefer to use native functionality as much as possible, without having to install additional tools or …