To pull one item out of an array by position, use bracket notation with a zero-based index: $.tags[0] gets the first element, $.tags[2] the third. There's no negative-index or "last element" shorthand — you need to know (or compute) the index.
$.tags[0]
$.tags[2]
Describe what you need in plain English and automatically build, explain, test, and optimize regex, JSON, JWT, cron, and hash workflows with zero regex friction. This app requires JavaScript to run interactively — enable JavaScript for the full experience, or explore what each tool does below.