how to parse a JSON String with jq (or other alternatives)? November 20, 2022 by Tarik jq has the fromjson builtin for this: jq '.c | fromjson | .id' myFile.json fromjson was added in version 1.4.