Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • 1
    It sounds to me that your issue is that you can’t use jq. A secondary issue is that there are more than one statuses in the data and you don’t say which one you’re interested in (“the last” doesn’t mean anything for a set of unordered keys, but you probably mean the top-level one, right?). Do you have other scripting languages available, like Perl or Python (which have support for parsing JSON)? Commented Oct 4, 2024 at 2:41
  • 1
    BTW, did you modify this JSON from what you’re actually working with? There seems to be bits missing before the project key and the very end. The current document is malformed. Commented Oct 4, 2024 at 2:58
  • 1
    This isn't valid JSON Commented Oct 4, 2024 at 10:00
  • 1
    "I forgot to delete the comma" - you can go back and fix it Commented Oct 5, 2024 at 10:47
  • 1
    You have several answers - see unix.stackexchange.com/help/someone-answers for what to do next. Commented Oct 6, 2024 at 11:35