title: How to print raw json object from file based off its ID Spring Boot
body: <p>I have a json file locally containing some data. I am writing a path so that when the user does /person/1 it will only return the raw json from the file for that person object, based off that ID. </p>
  
  <pre><code>  {
    "id": 1,
    "name": "Sally",
    "age": "12",
    "likes": [cats, dogs, rabbits]
    },
    {
    "id": 2,
    "name": "jenny",
    "age": "22",
    "likes": [games, makeup]
    }
  ]
  </code></pre>
  
  <p>The idea is when the user goes localhost:8080/people/1 they would get returned onto the screen </p>
  
  <pre><code>{
    "id": 1,
    "name": "Sally",
    "age": "12",
    "likes": [cats, dogs, rabbits]
    }
  </code></pre>
  
  <p>I tried using a PersonDTO and I could return everyone, and I know with some work I could filter that by ID, but I want the raw data, not the cleaner java/Spring Boot version which I get from doing it the DTO way. </p>