I get invalid JSON from a script, e.g.
{
name: "Leo",
active: true
}
Is there a bash install-able tool I can use to pipe that output and turn it into valid JSON so can be processed by jq given jq doesn't support it ?
This question is similar to Convert invalid json into valid json except I need a command line utility and not some replace based php code.