Reading third level in JSON - help!

Hi,

Can anyone help me extract the “quote” from this JSON. The best I can get is contents.quotes - after that it just gives me a blank.

JSON:

{
  "success": {
    "total": 1
  },
  "contents": {
    "quotes": [
      {
        "quote": "I love doing stuff with Todd Barry and Jon Benjamin. We give the stage to good bands and funny people.",
        "length": "102",
        "author": "David Cross",
        "permalink": "https://theysaidso.com/quote/david-cross-i-love-doing-stuff-with-todd-barry-and-jon-benjamin-we-give-the-stag",
        "tags": [
          "funny",
          "people",
          "tso-love"
        ],
        "id": "x0TUs0FaOoZ7owrFc_VPVweF",
        "language": "en",
        "background": null
      }
    ],
    "requested_category": "funny",
    "requested_author": null
  },
  "baseurl": "https://theysaidso.com",
  "copyright": {
    "year": 2022,
    "url": "https://theysaidso.com"
  }
}

"{{ value_json.contents.quotes[0].quote }}"

Here’s a handy tool for doing this: https://jsonpathfinder.com/

I think a bit more context would help. What do you want to do? What did you do already?
Looking at this:


I would try
contents.quotes[0].quote

if you want to access the quote.

Thanks :slight_smile: I knew it would be something I had overlooked. Thanks for the link!