title: How can I access a particular table inside another table in JSON file by typing in localhost?
body: <p>Typing <code>localhost:3000</code> got me this full json file.</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;dishes&quot;: [{
      &quot;id&quot;: &quot;0&quot;,
      &quot;name&quot;: &quot;Uthappizza&quot;,
      &quot;image&quot;: &quot;images/uthappizza.png&quot;,
      &quot;category&quot;: &quot;mains&quot;,
      &quot;featured&quot;: true,
      &quot;label&quot;: &quot;Hot&quot;,
      &quot;price&quot;: &quot;4.99&quot;,
      &quot;description&quot;: &quot;A unique combination of Indian Uthappam (pancake) and Italian pizza, topped with Cerignola olives, ripe vine cherry tomatoes, Vidalia onion, Guntur chillies and Buffalo Paneer.&quot;,
      &quot;comments&quot;: [{
          &quot;rating&quot;: 5,
          &quot;comment&quot;: &quot;Imagine all the eatables, living in conFusion!&quot;,
          &quot;author&quot;: &quot;John Lemon&quot;,
          &quot;date&quot;: &quot;2012-10-16T17:57:28.556094Z&quot;
        },
        {
          &quot;rating&quot;: 4,
          &quot;comment&quot;: &quot;Sends anyone to heaven, I wish I could get my mother-in-law to eat it!&quot;,
          &quot;author&quot;: &quot;Paul McVites&quot;,
          &quot;date&quot;: &quot;2014-09-05T17:57:28.556094Z&quot;
        },
        {
          &quot;rating&quot;: 3,
          &quot;comment&quot;: &quot;Eat it, just eat it!&quot;,
          &quot;author&quot;: &quot;Michael Jaikishan&quot;,
          &quot;date&quot;: &quot;2015-02-13T17:57:28.556094Z&quot;
        },
        {
          &quot;rating&quot;: 4,
          &quot;comment&quot;: &quot;Ultimate, Reaching for the stars!&quot;,
          &quot;author&quot;: &quot;Ringo Starry&quot;,
          &quot;date&quot;: &quot;2013-12-02T17:57:28.556094Z&quot;
        },
        {
          &quot;rating&quot;: 2,
          &quot;comment&quot;: &quot;It's your birthday, we're gonna party!&quot;,
          &quot;author&quot;: &quot;25 Cent&quot;,
          &quot;date&quot;: &quot;2011-12-02T17:57:28.556094Z&quot;
        },
        {
          &quot;author&quot;: &quot;Aayush&quot;,
          &quot;rating&quot;: 4,
          &quot;comment&quot;: &quot;This is Great&quot;,
          &quot;date&quot;: &quot;2020-08-19T10:39:39.720Z&quot;
        }
      ]
    }]
  }
  </code></pre>
  <p>But when typed <code>localhost:3000/dishes/0</code>, I got</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;id&quot;: &quot;0&quot;,
    &quot;name&quot;: &quot;Uthappizza&quot;,
    &quot;image&quot;: &quot;images/uthappizza.png&quot;,
    &quot;category&quot;: &quot;mains&quot;,
    &quot;featured&quot;: true,
    &quot;label&quot;: &quot;Hot&quot;,
    &quot;price&quot;: &quot;4.99&quot;,
    &quot;description&quot;: &quot;A unique combination of Indian Uthappam (pancake) and Italian pizza, topped with Cerignola olives, ripe vine cherry tomatoes, Vidalia onion, Guntur chillies and Buffalo Paneer.&quot;,
    &quot;comments&quot;: [
      {
        &quot;rating&quot;: 5,
        &quot;comment&quot;: &quot;Imagine all the eatables, living in conFusion!&quot;,
        &quot;author&quot;: &quot;John Lemon&quot;,
        &quot;date&quot;: &quot;2012-10-16T17:57:28.556094Z&quot;
      },
      {
        &quot;rating&quot;: 4,
        &quot;comment&quot;: &quot;Sends anyone to heaven, I wish I could get my mother-in-law to eat it!&quot;,
        &quot;author&quot;: &quot;Paul McVites&quot;,
        &quot;date&quot;: &quot;2014-09-05T17:57:28.556094Z&quot;
      },
      {
        &quot;rating&quot;: 3,
        &quot;comment&quot;: &quot;Eat it, just eat it!&quot;,
        &quot;author&quot;: &quot;Michael Jaikishan&quot;,
        &quot;date&quot;: &quot;2015-02-13T17:57:28.556094Z&quot;
      },
      {
        &quot;rating&quot;: 4,
        &quot;comment&quot;: &quot;Ultimate, Reaching for the stars!&quot;,
        &quot;author&quot;: &quot;Ringo Starry&quot;,
        &quot;date&quot;: &quot;2013-12-02T17:57:28.556094Z&quot;
      },
      {
        &quot;rating&quot;: 2,
        &quot;comment&quot;: &quot;It's your birthday, we're gonna party!&quot;,
        &quot;author&quot;: &quot;25 Cent&quot;,
        &quot;date&quot;: &quot;2011-12-02T17:57:28.556094Z&quot;
      },
      {
        &quot;author&quot;: &quot;Aayush&quot;,
        &quot;rating&quot;: 4,
        &quot;comment&quot;: &quot;This is Great&quot;,
        &quot;date&quot;: &quot;2020-08-19T10:39:39.720Z&quot;
      }
    ]
  }
  </code></pre>
  <p>But now I want to get only <code>comments</code> from <code>dishes</code> of <code>id: &quot;0&quot;</code>. I tried <code>localhost:3000/dishes/0/comments</code> and <code>localhost:3000/dishes/0?comments</code> but did not get the desired result. What can be typed in the URL to get the table inside more tables?</p>